I've looked through the SDK and can't find any references to the Trimmer. Is there any way that I can get info from the trimmer (i.e. the start/end time, duration, etc. of a selection)?
The trimmer just fell outside the main focus of the scripting API. For
the most part, the API is centered around manipulating project data.
The exceptions are (mainly) rendering, saving snapshots, and accessing
the timeline selection.
Basic trimmer functions can be achieved by manipulating TrackEvents.
The ability to manipulate media markers via scripting is something
that's on our to-do list.
You're right about the trimmer functions not needing to be scriptable for too many operations. The reason I was hoping for the trimmer to be scriptable was that someone was asking for overwrite functionality in Vegas (over in the Vegas-Video section). If the trimmer was scriptable, it would seem failrly simple to write a script to overwrite a selected event on the timeline with a selection in the trimmer in one step (rather than having someone create a new event from the trimmer selection and then running the script).
I'm sure this is already assumed, and Vegas' developement must be prioritized, but the more Vegas is scriptable, the better! :)
Hi Jive,
Do you know if script can access to the ClipBoard data ?
What do you think about this workflow to simulate Overwrite Edit Mode:
-Make a time selection in Trimmer
-Hit Ctrl+C to copy
-Place cursor on Time Line
-Run a script to Paste data on Timeline and overwrite existing media
It will be a very complex undertaking to decipher the format of Vegas'
clipboard data. The clipboard data and the scripting API are not
directly related.