User Tools

Site Tools


macros:property:palette.currentpalettehandle

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
macros:property:palette.currentpalettehandle [2018/06/20 05:45]
34.203.201.213 ↷ Links adapted because of a move operation
macros:property:palette.currentpalettehandle [2019/07/31 13:15] (current)
icke_siegen
Line 15: Line 15:
  
 This points the property '​CurrentpaletteHandle'​ to the 2nd palette on page 2 in the Colours workspace window. This points the property '​CurrentpaletteHandle'​ to the 2nd palette on page 2 in the Colours workspace window.
 +
 +In order to use a palette by its usernumber you need to write
 +
 +<code xml>
 +  <​step>​ActionScript.SetProperty("​Palette.CurrentPaletteHandle",​ handle:"​paletteHandleUN=110"​)</​step>​
 +</​code>​
 +
 +>The reason for this syntax is: the function ActionScript.SetProperty has no idea which type of property it has to set, let alone which type of handle (you can have the same usernumber in palettes, playbacks, macros etc.). Thus in this case there is this notation which also defines the type of handle - here: paletteHandleUN - a palette handle defined by its usernumber.
 +
 +http://​forum.avolites.com/​viewtopic.php?​f=20&​t=6196
  
 == used in == == used in ==
  
 {{backlinks>​.}} {{backlinks>​.}}
macros/property/palette.currentpalettehandle.txt · Last modified: 2019/07/31 13:15 by icke_siegen