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 |
^ [[macros:namespace|namespace]] | [[macros:namespace:handles]] |
^ parameter | group ( [[macros:type:string]] ) : group of handles |
^ ::: | indexList ( [[macros:type:List'1]] ) : list of handles in specified group |
^ return value | [[macros:type:void]] |
^ affects | [[macros:property:handles.sourcehandle]], [[macros:property:handles.contexthandles]] |
See [[:macros:identifiers]] for available groups of handles.
== Example in ==
[[macros:example:createworkspaces]]:
Handles.SetSourceHandleRange("Workspaces", {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11})
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 ''"[[macros:property:Handles.ThroughModifier|Handles.ThroughModifier]]"'', and finally select the last handle
- SetSourceHandleRange(handle group, index of first handle)
- ActionScript.SetProperty.SetFlag("Handles.ThroughModifier", "Once")
- 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 ==
{{backlinks>.}}
== Remarks ==
~~DISCUSSION~~