macros:example:halvechasespeed

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:example:halvechasespeed [2017/11/24 08:27] – [until Titan version 10.0] icke_siegenmacros:example:halvechasespeed [2019/04/27 11:26] (current) sideshowbond
Line 1: Line 1:
 Example Example
  
-====== Halve chase speed ======+====== Chase - Halve speed ======
  
 ^ by: | Gregory Haynes, Feb 2016 | ^ by: | Gregory Haynes, Feb 2016 |
Line 8: Line 8:
 ^ remarks: | The problem with this code is that it requires the chase to be set as the selected playback in the editor (used for the Edit Times menu). This means that the Playback View which could be showing a cue list switches to show the chase instead, to get around this I have stored the previous selected playback and restore that afterwards but this does cause the display to flicker. \\ **In version 10.1, one of the affected variables has changed - you need to use the correct macro for your Titan version.** | ^ remarks: | The problem with this code is that it requires the chase to be set as the selected playback in the editor (used for the Edit Times menu). This means that the Playback View which could be showing a cue list switches to show the chase instead, to get around this I have stored the previous selected playback and restore that afterwards but this does cause the display to flicker. \\ **In version 10.1, one of the affected variables has changed - you need to use the correct macro for your Titan version.** |
  
 +{{tag>halve connect chase speed bpm}}
 ==== functions ==== ==== functions ====
   * [[macros:function:actionscript.setproperty]]   * [[macros:function:actionscript.setproperty]]
Line 47: Line 48:
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
 <avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd"> <avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
-  <!-- This macro does not work in version below 10.1 as the property Playbacks.Editor.Times.PlaybackSpeed formerly was  Playbacks.Editor.Times.PlaybackSpeed. --> +  <!-- This macro does not work in versions below 10.1 as the property Playbacks.Editor.Times.PlaybackSpeed formerly was  Playbacks.Editor.Times.PlaybackSpeed. --> 
   <macro name="Chase Speed Half" id="Avolites.Macros.ChaseSpeedHalf">   <macro name="Chase Speed Half" id="Avolites.Macros.ChaseSpeedHalf">
     <description>Halves the speed of the currently connected chase.</description>     <description>Halves the speed of the currently connected chase.</description>
Line 78: Line 79:
 ===== How to use it ===== ===== How to use it =====
  
-**This macro works perfectly well in Titan 9.1, does misbehave in 10.0 (always sets speed to 0 BPM), and throws an error in 10.1 (variable not registered).**+**Please choose the correct macro for your Titan version.**
  
   * [[macros:deploying|make this macro available]]   * [[macros:deploying|make this macro available]]
macros/example/halvechasespeed.1511512051.txt.gz · Last modified: 2017/11/24 08:27 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki