User Tools

Site Tools


macros:function:handles.setsourcehandlerange

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:function:handles.setsourcehandlerange [2018/08/21 17:12] – created sideshowbondmacros:function:handles.setsourcehandlerange [2021/06/13 10:51] (current) – external edit 127.0.0.1
Line 11: Line 11:
 ^ ::: | indexList ( [[macros:type:List'1]] ) : list of handles in specified group | ^ ::: | indexList ( [[macros:type:List'1]] ) : list of handles in specified group |
 ^ return value | [[macros:type:void]] | ^ return value | [[macros:type:void]] |
-^ affects | [[macros:property:handles.sourcehandle]] |+^ affects | [[macros:property:handles.sourcehandle]], [[macros:property:handles.contexthandles]] |
  
 See [[:macros:identifiers]] for available groups of handles. See [[:macros:identifiers]] for available groups of handles.
  
 == Example in ==  == Example in == 
-[[macros:example:workspacecreation]]: +[[macros:example:createworkspaces]]: 
  
 <code xml> <code xml>
Line 22: Line 22:
  
 Sets source handle to be workspace handles 1-12 (the 12 visible workspace buttons in Titan. 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:
 +
 +<code xml>
 +Handles.SetSourceHandleRange("PlaybackWindow", {0})
 +ActionScript.SetProperty.SetFlag("Handles.ThroughModifier", "Once")
 +Handles.SetSourceHandleRange("PlaybackWindow", {60})
 +</code>
  
 == Also used in == == Also used in ==
macros/function/handles.setsourcehandlerange.1534871553.txt.gz · Last modified: 2018/08/21 17:12 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki