User Tools

Site Tools


macros:recorded_vs._coded_macros

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:recorded_vs._coded_macros [2017/11/19 15:25] icke_siegenmacros:recorded_vs._coded_macros [2017/11/28 15:24] (current) icke_siegen
Line 12: Line 12:
  
 While macros already make a powerful tool, there is still lots of headroom. To spare you some time, here are some hints on things with are currently (Titan v10.1) **not possible** with macros: While macros already make a powerful tool, there is still lots of headroom. To spare you some time, here are some hints on things with are currently (Titan v10.1) **not possible** with macros:
-  * variables +  * more user input (like parameters)
-  * more user input +
-  * conditions+
   * loops (while, for, each, until)   * loops (while, for, each, until)
   * breakpoints (run until a certain point, wait for a trigger, then proceed)   * breakpoints (run until a certain point, wait for a trigger, then proceed)
Line 147: Line 145:
  
 1. "Next fixture" might work as ''Selection.Context.Global.PatternNext()''\\ 1. "Next fixture" might work as ''Selection.Context.Global.PatternNext()''\\
-2. "at full" is not that easy - we were discussing how to set attribute value the other day\\+2. "at full" needs to be discussed separately - setting an attribute uses the function [[macros:function:Programmer.Editor.Fixtures.SetControlValueById]] and goes along the lines Olie outlined [[http://forum.avolites.com/viewtopic.php?f=21&t=5189|in the forum]]. Another option is literally using ''@@'', by  ''Command.RunCommand("@@")'', see [[:macros:function:Command.RunCommand]] \\
 3. "append step" is the most tricky part: the function could be ''Playbacks.AppendCue(Handle handle)'' - but this would require us to know the handle \\ 3. "append step" is the most tricky part: the function could be ''Playbacks.AppendCue(Handle handle)'' - but this would require us to know the handle \\
 4. "at 0" -> see above 2.\\ 4. "at 0" -> see above 2.\\
macros/recorded_vs._coded_macros.1511105112.txt.gz · Last modified: 2017/11/19 15:25 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki