Page 1 of 1

Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 04 Feb 2018, 16:56
by kimwida
I am trying to make some macros to change speed, Xfade, Fixture Overlap of some chases.
I found these codes can change them.

ActionScript.SetProperty("Playbacks.Editor.Times.PlaybackSpeed", float:1) ***** Time is BPM not Second *****
ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", float:1)
ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", float:1)

I want to set those value to specific user id's chase.
How can I do this??

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 05 Feb 2018, 14:34
by Gregory
You will need to set the selected playback first before you can set the properties, for example you can do the following to select the chase that is connected to the wheels:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Chases.ConnectedHandle)

Alternatives include setting the setting the selected playback using its Titan ID:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"chaseHandleID=1601")

By its user number:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"chaseHandleUN=2")

By its location:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,2")

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 05 Feb 2018, 14:59
by kimwida
Thank you!!!
Especially by location, it's more than I want!!

==========================================================
I just made two simple macros but they don't work.
Two macros change overlap(90%) and xfade(50%) three playbacks which are in playback window page 1 and 61, 62, 63 slot.
Somebody help me!!!

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="ChangeOverlap" name="ChangeOverlap">
    <sequence>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,61")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,62")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,63")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
    </sequence>
  </macro>
</avolites.macros>



Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="ChangeXfade" name="ChangeXfade">
    <sequence>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,61")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,62")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,63")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
    </sequence>
  </macro>
</avolites.macros>

===========================================================================================
Ok, I found these codes only work with "Connected" playback.
How can I make these code work with NOT "Connected" playback???

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 06 Feb 2018, 06:36
by kimwida
It works by "its user number"!!!!

:D :D :D :D

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 08 Feb 2018, 15:49
by Gregory
Looking at your snippets your locations look incorrect as the first number is the page and the second is the button or fader number. As there are only 10/15 playback faders the number 61 you had is much too large, I assume this was the playback’s user number.

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 08 Feb 2018, 16:29
by kimwida
I thought it was the location of playback in the Playbacks Window.

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Posted: 12 Feb 2018, 13:44
by Gregory
The location Playbacks refers to the main playback faders, PlaybackWindow is for the playback workspace window.