Here is a script to SetEventLength of stills or video in an easy way.
There are similar scripts around, such as :
- still images panel from Vegasaur, however that one contains a bug when starting it up : « Oops vegasaur bug report (index out range exception) » a fix is unlike to happen, as development on Vegasaur seems halted.
- Then there is « SetEventLength » from Happy Otter scripts @wwaag tools4vegas.com, but that one instantly crashes vegas 21.
So I decided to write my own script which does not crash and is in a way even smarter than Vegasaur (more on that later).
It works on events on all Video tracks and prevents audio events selection.
It is very easy to use as it is not a dropdown selection, or type in, but a much faster 8 buttons choice (from 1 second to 8 seconds) for speed editing.
Version 2 : added 4 more buttons to set length in number of frames 1, 5, 10, 15 frames + bugfix
The clever bit is that it only adapts the length of selected events, without the events moving location or changing order when there are events in between which are not selected (like jumping over those not selected and grouping together, as such changing the order of events, Vegasaur will change the order in such cases, which is bad)
The script is based on a reworked and stripped down version of whisper speech to text I made in the past, and some clever bits from @jetdv on the matter of using an array for keeping the order of events in check.
Here is a link to dropbox for the script Version 2: