Pan/Crop Script for Custom Presets?
I have already purchased Vegasuar 3.9.4 (newest version) as well as done free trials of various other Vegas extension, and have accumulated and modified all of the free scripts I could possibly find online, none of them have provided the solution. I am running Vegas Pro 14 on Windows 10 (I have also modified older scripts to work with vegas 14 so older script suggestions are welcome)
I use the Pan/Crop tool a lot...easily over 200 times per workday. Many of the cuts are simple pan/crop presets I have saved such as "Center" "Right" "Left", very basic jumpcut stuff for YouTube editing.
I'd like to have an easier way to access the Pan/Crop presets. The easiest way I can think of is to have a script where it just jumps to the preset (I use these for basic color correcting functions and it saves me SO much time)
I've read people claiming it's impossible to modify the pan/crop via script since it's different than an effect, but I know this isn't true because Vegasaur has a 1-Click Command (script) for resetting the pan/crop to default that I use often.
If I could modify or even view the source of the Vegasaur 1-Click Command (scrip) I could probably figure something out. OR if anyone can recommend a working pan/crop script that I could tinker around with that would be amazing!
Of course any off the wall ideas are welcome here too - I only care about workflow and results :)
If you are trying to modify Pan/Crop keyframes (KFs) for a selected Event, you need to find the Event in the script. Something like:
KFs are stored in the VideoMotionKeyframe class, each one is stored in a List:
You can iterate/modify the List from the videoEvent, eg:
Each vmkf object has various properties:
which can be easily modified, eg:
You can modify entry(s) in the List of Keyframes, erase the List, add to the List by using standard List methods.