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

Next revision
Previous revision
macros:property:palette.currentpalettehandle [2017/11/29 10:21] – created icke_siegenmacros:property:palette.currentpalettehandle [2019/07/31 11:15] (current) icke_siegen
Line 6: Line 6:
 ^ description | ASSUMPTION: that's the handle of the palette which is marked as 'current' | ^ description | ASSUMPTION: that's the handle of the palette which is marked as 'current' |
 ^ [[macros:namespace]] | [[macros:namespace:palette]] | ^ [[macros:namespace]] | [[macros:namespace:palette]] |
-^ type | [[macros:type:handle]] |+^ type | [[macros:identifier:handle]] |
  
 == example == == example ==
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.1511950866.txt.gz · Last modified: 2017/11/29 10:21 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki