User Tools

Site Tools


macros:property:palette.currentpalettehandle

Titan Property

Palette.CurrentPaletteHandle

API http://api.avolites.com/10.1/Palette.CurrentPaletteHandle.html
description ASSUMPTION: that's the handle of the palette which is marked as 'current'
Namespaces Palette
type Handle
example
  <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", "Location=Colours,2,2")</step>

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

  <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"paletteHandleUN=110")</step>
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
macros/property/palette.currentpalettehandle.txt · Last modified: 2019/07/31 11:15 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki