User Tools

Site Tools


macros:function:handles.setsourcehandlerange

Function

Handles.SetSourceHandleRange

Void Handles.SetSourceHandleRange(String group, List`1 indexList)
API http://api.avolites.com/11.0/Handles.SetSourceHandleRange.html
description Set the source handle to a specific range of handles
namespace Handles
parameter group ( String ) : group of handles
indexList ( List`1 ) : list of handles in specified group
return value Void
affects Handles.SourceHandle

See Identifiers for available groups of handles.

Example in

Create Workspaces:

  <step pause="0.001">Handles.SetSourceHandleRange("Workspaces", {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11})</step>

Sets source handle to be workspace handles 1-12 (the 12 visible workspace buttons in Titan.

Another application would be to select the first handle, then set the flag Handles.ThroughModifier, and finally select the last handle

  1. SetSourceHandleRange(handle group, index of first handle)
  2. ActionScript.SetProperty.SetFlag(“Handles.ThroughModifier”, “Once”)
  3. SetSourceHandleRange(handle group, index of first handle)

See http://forum.avolites.com/viewtopic.php?f=20&t=5788:

Handles.SetSourceHandleRange("PlaybackWindow", {0})
ActionScript.SetProperty.SetFlag("Handles.ThroughModifier", "Once")
Handles.SetSourceHandleRange("PlaybackWindow", {60})
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/handles.setsourcehandlerange.txt · Last modified: 2018/09/09 18:26 by icke_siegen