User Tools

Site Tools


macros:example:playbacktoggletimecode

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:playbacktoggletimecode [2017/10/29 16:35] – ↷ Page moved from example:playbacktoggletimecode to macros:example:playbacktoggletimecode icke_siegenmacros:example:playbacktoggletimecode [2019/01/15 02:20] (current) – Title sideshowbond
Line 1: Line 1:
-====== Toggle Timecode On/Off for particular playback ======+Example 
 + 
 +====== Timecode - Toggle On/Off for particular playback ======
  
 ^ by: | Gregory Haynes, May 2016 | ^ by: | Gregory Haynes, May 2016 |
Line 6: Line 8:
 ^ remarks: | The original idea was to toggle a cuelist which is identified by its legend - but that's not possible. Greg writes //'I don't think there is a way to do this at the moment. I found a way of toggling a playback based on its location but it uses the current page, you could use the Playbacks window instead (which would be "PlaybackWindow").'// | ^ remarks: | The original idea was to toggle a cuelist which is identified by its legend - but that's not possible. Greg writes //'I don't think there is a way to do this at the moment. I found a way of toggling a playback based on its location but it uses the current page, you could use the Playbacks window instead (which would be "PlaybackWindow").'// |
  
 +{{tag>handle timecode toggle source}}
 ==== functions ==== ==== functions ====
   * [[macros:function:handles.setsourcehandle]]   * [[macros:function:handles.setsourcehandle]]
Line 32: Line 35:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+  * ''Handles.SetSourceHandle("Playbacks", 0)'' makes the playback 1 the source handle 
 +  * ''Playbacks.Timecode.ToggleEnabled.Handle(Handles.SourceHandle)'' toggles the Timecode.Enabled setting of this handle - this is the 'Connected Cuelists' toggle button in the Timecode menu 
 +  * ''Handles.SetSourceHandleFromHandle(null)'' empties the source handle property.
  
 ===== How to use it ===== ===== How to use it =====
  
-  [[macros:deploying|make this macro available]] +  [[macros:deploying|Make this macro available]] 
- +  * create a cuelist on playback 1 
-tbd+  * open the ''[Timecode]'' menu 
 +  * go to ''[Connected Cue Lists]'' - the button ''[Cue List Playbacks[1]]'' is inactive 
 +  * <Exit> (the macro doesn't run as long as we are in this menu) 
 +  * fire the macro 
 +  * go to ''[Connected Cue Lists]'' - the button ''[Cue List Playbacks[1]]'' is now active
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/playbacktoggletimecode.1509294946.txt.gz · Last modified: 2017/10/29 16:35 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki