Basically selecting handle ranges and copying/moving them is closely tied to the user interface and works only on the current page. These two examples would work:
This copies the playbacks in the current page of the playbacks
window buttons 2-10 to the fader playbacks 2-10:
Code: Select all
<step pause="0.01">Handles.SetSourceHandleRange("PlaybackWindow", {1, 2, 3, 4, 5, 6, 7, 8, 9})</step>
<step pause="0.01">ActionScript.SetProperty.Enum("Handles.OperationMode", "copy")</step>
<step pause="0.01">Handles.CopyDestination("Playbacks", 1)</step>
<step pause="0.01">Handles.ClearSelection()</step>
Instead of using the location you can use the usernumber: this copies the playbacks with the usernumbers 3, 4 and 5 to the fader playbacks 1, 2 and 3:
Code: Select all
<step pause="0.01">Handles.SetSourceHandleRangeFromHandles("{playbackHandleUN=3,playbackHandleUN=4,playbackHandleUN=5}", true)</step>
<step pause="0.01">ActionScript.SetProperty.Enum("Handles.OperationMode", "copy")</step>
<step pause="0.01">Handles.CopyDestination("Playbacks", 0)</step>
<step pause="0.01">Handles.ClearSelection()</step>
If you want to copy it to an arbitrary page then you might involve some tricks like here:
https://www.avosupport.de/wiki/macros/e ... ge1andbackHowever I don't know if it is possible to use SetSourceHandleRangeFromHandles() with a list of locations - or I didn't find the correct syntax for this.