User Tools

Site Tools


todo

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
todo [2024/04/18 07:01] – [WebAPI] icke_siegentodo [2025/04/23 08:00] (current) – [20250422] icke_siegen
Line 6: Line 6:
 ===== Missing articles ===== ===== Missing articles =====
  
- ~~ORPHANSWANTED:wanted~~+ ~~ORPHANSWANTED:wanted!tag~~
 ===== To Do ===== ===== To Do =====
  
Line 82: Line 82:
   * Gregory (28.02.24): set User Numer, incl. casting and syntax: {{ ::20240228_gregory_webapi_setusernumber.pdf |}}   * Gregory (28.02.24): set User Numer, incl. casting and syntax: {{ ::20240228_gregory_webapi_setusernumber.pdf |}}
   * Gregory (15.04.24): set property, with more casting: {{ ::webapi_currentpalette.pdf |}}   * Gregory (15.04.24): set property, with more casting: {{ ::webapi_currentpalette.pdf |}}
 +  * get attribute value: {{ ::api_getvalue.txt |}}
 +  * create new palette (with explanation about 4430 and 4431): http://forum.avolites.com/viewtopic.php?f=21&p=24858, see {{ ::apicreatenewpalette.txt |}}
 +  * select group: http://localhost:4431/titan/script/2/Group/RecallGroup?handle_userNumber=1
 +  * create shape: http://localhost:4431/titan/script/2/Editor/Shapes/CreateShape?shapeId=1&runOnCells=0&absolute=true
 +  * set shape size: POST http://localhost:4431/titan/set/2/Editor/Shapes/Size (use an extension like RestMan and put 0.05 in the body as raw data, to set the shape size to 5%). See {{::api_post.png?200|}}
 +
 +  
 ==== ASCII ==== ==== ASCII ====
  
Line 248: Line 255:
 </code> </code>
  
 +timeline macros, see {{ ::timelinemacros.xml |}} (14.02.24)
 ==== 20240407 ==== ==== 20240407 ====
  
Line 314: Line 322:
 A similar question answered by Gregory, with further details: {{ ::createcuelist.pdf |}} A similar question answered by Gregory, with further details: {{ ::createcuelist.pdf |}}
  
 +
 +==== 20240707 ====
 +
 +from FB, https://www.facebook.com/groups/Avolites/posts/3137723979693148/
 +
 +Macro to set a playback's level and move the fader.
 +
 +See also GH's email (SB private).
 +
 +<code xml enableCue.xml>
 +
 +<?xml version="1.0" encoding="utf-8"?>
 +
 +<!-- enable/disable a cuelists cue -->  
 +
 +<!-- see http://forum.avolites.com/viewtopic.php?f=20&t=7217&p=24856 -->
 +
 +<avolites.macros>
 +  <macro id="UserMacro.testFirePB16.Page">
 +    <name>_Test FPB 16 w. Page</name>
 +    <sequence>
 +      <step pause="0.05">Handles.Playbacks.ChangePage(99)</step>
 +      <step pause="0.05">Playbacks.FirePlaybackAtLevel("Location=Playbacks,1,1", level:0.6, true)</step>
 +      <step pause="0.05">Handles.Playbacks.ChangePage(0)</step>
 +    </sequence>
 +  </macro>
 +</avolites.macros>
 +</code>
 +
 +==== 20240709 ====
 +
 +from forum: enable/disable a cuelist's cue
 +see http://forum.avolites.com/viewtopic.php?f=20&t=7217&p=24856
 +
 +<code xml enableCue.xml>
 +
 +<?xml version="1.0" encoding="utf-8"?>
 +
 +<!-- enable/disable a cuelists cue -->  
 +
 +<!-- see http://forum.avolites.com/viewtopic.php?f=20&t=7217&p=24856 -->
 +
 +<avolites.macros>
 + <macro name="__PB 100 enable cue 10" id="Wiki.Macros.PB100.Cue10On">
 +    <sequence>   
 +      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"playbackHandleUN=100")</step>
 +      <step>Playbacks.Editor.CueSelection.SelectCueByNumber(handle:"playbackHandleUN=100", 10)</step>
 +      <step>ActionScript.SetProperty.Boolean("Playbacks.Editor.Times.Disabled", false)</step>
 +    </sequence>
 +  </macro>
 + <macro name="__PB 100 disable cue 10" id="Wiki.Macros.PB100.Cue10Off">
 +    <sequence>   
 +      <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"playbackHandleUN=100")</step>
 +      <step>Playbacks.Editor.CueSelection.SelectCueByNumber(handle:"playbackHandleUN=100", 10)</step>
 +      <step>ActionScript.SetProperty.Boolean("Playbacks.Editor.Times.Disabled", true)</step>
 +    </sequence>
 +  </macro>
 +</avolites.macros>
 +</code>
 +
 +Update SetCurrentShapesDirection for v17, see {{ ::allshapesdirection.xml |}}
 +
 +Nudge Timecode, Daniel Dai/Messenger/20250226
 +
 +{{::timecode_offset.jpeg?600|}}
 +
 +==== 20250422 ====
 +
 +<code xml>
 +<!-- Daniel Dai, 18.04.24, Messenger -->
 +<!-- note the formatting of the variables -->
 +
 +  <macro id="Wiki.Macros.CreateCircle" name="Create Circle Shape">
 +    <sequence>
 +      <step>Editor.Shapes.CreateShape("1", 1, true)</step>
 +    </sequence>
 +  </macro>
 +</code>
 +
 +<code xml>
 +
 +  <!-- abuse Palette.Numeric.InputValue in order to feed some numeric input into a macro -->
 +  <!-- April 2025, Daniel Dai, Messenger -->
 +  <!-- Usage: enter a number, hit Exit, select fixtures, fire macro -->
 +  
 +  <macro id="Wiki.Macros.Pattern1in2" name="Pattern 1 in 2">
 +    <sequence>
 +      <step>Command.StartNewCommand()</step>
 +      <step>Command.AppendString("PATTERN")</step>
 +      <step>Command.AppendNumeral((int:Palette.Numeric.InputValue / 2), false)</step>
 +      <step>Command.AppendString("IN")</step>
 +      <step>Command.AppendNumeral((int:Palette.Numeric.InputValue), false)</step>
 +      <step>Command.RunCommand(Command.CommandLineText)</step>
 +    </sequence>
 +  </macro>
 +
 +</code>
 +
 +<code xml>
 +
 +  <!-- abuse Palette.Numeric.InputValue in order to feed some numeric input into a macro -->
 +  <!-- April 2025, Daniel Dai, Messenger -->
 +  <!-- Usage: enter a number, hit Exit, fire macro - in order to select a specific playback -->
 +  <!-- also shows example XmlNodeNames -->
 +  
 +  <macro id="Wiki.Macros.SetSource.Cue" name="Set Source Cuehandle">
 +    <sequence>
 +      <step>Handles.SetSourceHandleFromHandle(Handles.GetHandleFromUserNumber("cueHandle", int:Palette.Numeric.InputValue))</step>
 +    </sequence>
 +  </macro>
 +  
 +  <macro id="Wiki.Macros.SetSource.Playback" name="Set Source Playbackhandle">
 +    <sequence>
 +      <step>Handles.SetSourceHandleFromHandle(Handles.GetHandleFromUserNumber("playbackHandle", int:Palette.Numeric.InputValue))</step>
 +    </sequence>
 +  </macro>
 +
 +</code>
 ==== Titan Tricks ==== ==== Titan Tricks ====
  
todo.1713423699.txt.gz · Last modified: 2024/04/18 07:01 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki