I'm syncing Vegas 10.0e and Reaper 4.31 together using MTC. Reaper is chasing sync fine except for one irritating issue: If I hit PAUSE in Vegas, playback in Reaper returns to the location of the edit cursor. This means that every time I stop playback in Vegas and toggle to Reaper, I have to hit some keys to move the edit cursor to the same location as Vegas.
I'd like to write a script or extension that monitors the transport state in Vegas and if the transport stops, sends the correct keystrokes to Reaper to have it automatically move the edit cursor to the correct location. I was thinking of providing a configuration parameter in Vegas that enables/disables the feature at will.
I've looked over the scripting faq and the api reference and there is a boolean TransportControl.IsPlaying property but I don't see anything in the api that describes a mechanism for continuously monitoring the property for state change. This could be an event (such as OnPlayingChanged or maybe spawning a thread that blocks on or polls the IsPlaying property, etc.
What would be the best way to approach this issue?
Thanks,
Todd.
I'd like to write a script or extension that monitors the transport state in Vegas and if the transport stops, sends the correct keystrokes to Reaper to have it automatically move the edit cursor to the correct location. I was thinking of providing a configuration parameter in Vegas that enables/disables the feature at will.
I've looked over the scripting faq and the api reference and there is a boolean TransportControl.IsPlaying property but I don't see anything in the api that describes a mechanism for continuously monitoring the property for state change. This could be an event (such as OnPlayingChanged or maybe spawning a thread that blocks on or polls the IsPlaying property, etc.
What would be the best way to approach this issue?
Thanks,
Todd.