Example
====== Release - Set Priority and Release ======
^ by: | Sebastian Beutel (idea by Ralf Keijsers, see facebook link below)|
^ published: | October 2018 |
^ description: | sets release priority |
^ remarks: | idea see https://www.facebook.com/groups/1811437589141428/permalink/2027076607577524/ \\ https://www.facebook.com/groups/Avolites/permalink/1365971510201746/|
This is a development from [[macros:example:setreleasepriority|]]
{{tag>release priority}}
==== functions ====
* [[:macros:function:ActionScript.SetProperty.Enum]]
* [[:macros:function:Playbacks.ReleaseAllPlaybacksByPriority]]
==== affected properties ====
* [[:macros:property:Playbacks.ReleasePriority]]
===== Code =====
ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "LowPriority")
Playbacks.ReleaseAllPlaybacksByPriority(Expert.ReleasePlayback.FadeTime, Expert.ReleasePlayback.UseMaster, false)
ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "MediumPriority")
Playbacks.ReleaseAllPlaybacksByPriority(Expert.ReleasePlayback.FadeTime, Expert.ReleasePlayback.UseMaster, false)
ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "HighPriority")
Playbacks.ReleaseAllPlaybacksByPriority(Expert.ReleasePlayback.FadeTime, Expert.ReleasePlayback.UseMaster, false)
ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "ProgrammerPriority")
Playbacks.ReleaseAllPlaybacksByPriority(Expert.ReleasePlayback.FadeTime, Expert.ReleasePlayback.UseMaster, false)
ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "MaximumPriority")
Playbacks.ReleaseAllPlaybacksByPriority(Expert.ReleasePlayback.FadeTime, Expert.ReleasePlayback.UseMaster, false)
===== Explanation =====
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]]
These macros set the release setting/user setting ''Release Priority'' which can either be set by clicking '''' and toggling ''[Release Priority]'', or by setting the user setting.
===== How to use it =====
* [[:macros:deploying|make this macro available]]
* fire one of the macros to set the release priority as intended
~~DISCUSSION~~