View Single Post
Old 07-17-2008, 12:12 PM   #105
Klinke
Human being with feelings
 
Klinke's Avatar
 
Join Date: Jul 2008
Location: Berlin / Germany
Posts: 760
Default Fill Gap Macro

Hi,

here is my first not trivial macro, it fills a gap between the selected item and the next item (or more precisely, set the item end of the selected item to the item start of the next item)

+ Item Navigation: Select and move to next item
+ Markers: Add/move marker 10 to play/edit cursor
+ Item Navigation: Select and move to previous item
+ Markers: Go to marker 10
+ Item: Set selected item end to cursor

Not so nice is, that it needs creates a new marker, that i can't delete automatical, because maybe on the same position, their was already a marker before. Has someone another idea, how to set the time position to the start of the next item, without selecting the item itself (and without the workaround to create a marker)?

If you have installed the Marker utilities extension from SWS (thanks SWS), than you can restore the old marker set, the complete macro is:

+ Item Navigation: Select and move to next item
+ SWS: Copy marker set to clipboard
+ Markers: Add/move marker 10 to play/edit cursor
+ Item Navigation: Select and move to previous item
+ Markers: Go to marker 10
+ Item: Set selected item end to cursor
+ SWS: Paste marker set from clipboard
+ Item Navigation: Move cursor left to edge of selected item

I have also another question. I want to have an alternative "fill gap macro", that should timestretch the selected macro to fill the gap, instead only change the end position. Did i overlook something, or this is really not possible at the moment (without additional extensions).

Best,
Klinke
Klinke is offline   Reply With Quote