User Tools

Site Tools


macros:example:setcuelegend

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:setcuelegend [2018/06/25 11:24] – created icke_siegenmacros:example:setcuelegend [2019/04/27 11:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
 Example Example
  
-====== Set a chase cue's legend ======+====== Legend - Set a chase cue's legend ======
  
 ^ by: | Kim Wida, Feb 2018 | ^ by: | Kim Wida, Feb 2018 |
Line 8: Line 8:
 ^ remarks: | In its form it is of almost no practical use, but an example of how to get some information (in that case: the profile ID) displayed. | ^ remarks: | In its form it is of almost no practical use, but an example of how to get some information (in that case: the profile ID) displayed. |
  
-{{tag>[chase cue legend profile cast]}}+{{tag>chase cue legend profile cast}}
  
 ==== functions ==== ==== functions ====
   * [[:macros:function:Playbacks.SetCueLegend]]   * [[:macros:function:Playbacks.SetCueLegend]]
-  * [[:macros:function:Math.Cast.ToString]]+  * [[:macros:function:Math.ToString]]
   * [[:macros:function:Profiles.GetHandleProfileId]]   * [[:macros:function:Profiles.GetHandleProfileId]]
  
Line 23: Line 23:
     <description></description>     <description></description>
     <sequence>     <sequence>
-      <step>Playbacks.SetCueLegend(handle:"chaseHandleUN=10555", 1, Math.Cast.ToString+      <step>Playbacks.SetCueLegend(handle:"chaseHandleUN=10555", 1, Math.ToString
       (Profiles.GetHandleProfileId(handle:"chaseHandleUN=10555")))</step>       (Profiles.GetHandleProfileId(handle:"chaseHandleUN=10555")))</step>
      </sequence>      </sequence>
Line 37: Line 37:
 As stated above this example is of limited use for operating Titan but helps you get the ID of the profile. This ID is an int number, identifying the assigned key profile on that handle. Usually this is dealt with strictly internally. this macro was written in order to get the profile ID out. As stated above this example is of limited use for operating Titan but helps you get the ID of the profile. This ID is an int number, identifying the assigned key profile on that handle. Usually this is dealt with strictly internally. this macro was written in order to get the profile ID out.
   * ''Profiles.GetHandleProfileId(handle:"chaseHandleUN=10555")'' returns the ID of the assigned key profile   * ''Profiles.GetHandleProfileId(handle:"chaseHandleUN=10555")'' returns the ID of the assigned key profile
-  * ''Math.Cast.ToString()'' converts this ID, which is an integer number, to a string which can then be assigned as legend+  * ''Math.ToString()'' converts this ID, which is an integer number, to a string which can then be assigned as legend
   * ''Playbacks.SetCueLegend(handle:"chaseHandleUN=10555", 1,...)'' sets this string as legend for cue #1 of a specific chase   * ''Playbacks.SetCueLegend(handle:"chaseHandleUN=10555", 1,...)'' sets this string as legend for cue #1 of a specific chase
  
macros/example/setcuelegend.1529925889.txt.gz · Last modified: 2018/06/25 11:24 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki