User Tools

Site Tools


macros:type:string

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:type:string [2017/10/29 16:32] – ↷ Links adapted because of a move operation icke_siegenmacros:type:string [2017/11/19 14:22] (current) – external edit 127.0.0.1
Line 7: Line 7:
 Also, this distincts a property's name from a property's value. Also, this distincts a property's name from a property's value.
  
-See from the example [[example:timecodeonoff]]:+See from the example [[macros:example:timecodeonoff]]:
  
   <step>ActionScript.SetProperty.Boolean("Timecode.Enabled", !Timecode.Enabled)</step>   <step>ActionScript.SetProperty.Boolean("Timecode.Enabled", !Timecode.Enabled)</step>
  
-  * [[function:actionscript.setproperty.boolean]] is the important function here, and expects the name/id of the property to set passed as string, and the value to set passed as [[macros:type:boolean]]+  * [[macros:function:actionscript.setproperty.boolean]] is the important function here, and expects the name/id of the property to set passed as string, and the value to set passed as [[macros:type:boolean]]
   * ''"Timecode.Enabled"'' is the name of the property - we pass it as string, and hence enclose i in double quotes   * ''"Timecode.Enabled"'' is the name of the property - we pass it as string, and hence enclose i in double quotes
-  * ''!Timecode.Enabled'' is the property's value (forget about the ! here - this is a logical NOT, see [[:control_structures|Control Structures]].+  * ''!Timecode.Enabled'' is the property's value (forget about the ! here - this is a logical NOT, see [[:macros:control_structures]].
   * Hence, in total, this line says 'set the property 'Timecode.Enabled' to the opposite from what the value 'Timecode.Enabled' currently is'. One could write this shorter: toggle it!   * Hence, in total, this line says 'set the property 'Timecode.Enabled' to the opposite from what the value 'Timecode.Enabled' currently is'. One could write this shorter: toggle it!
  
macros/type/string.1509294738.txt.gz · Last modified: 2017/10/29 16:32 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki