Conditions in Scheduler Script
Posted: 03 Dec 2020 14:36
I am trying to implement a scheduler script based on the Condition options available.
At the start of the scheduler time slot I would like to first check if the DJ is live. If yes stop the automation for that time slot. If no live DJ, play a new recorded show with a specific file name and file location for that time slot. If that file does not exist, play an archived show using a filename in a different location.
Do I need to stack (script that runs another script) two "If Then Else" scripts to accomplish this decision making?
I also noted the AutoPlay condition at the bottom of the "if Then Else" script Condition setup. Can this be used in my scenario? As I understand it the AutoPlay condition being false would shut off the autoplay mode. If auto mode were off, would this allow for a live DJ preempt the schedule for that scheduler time slot?
I would like to test the script "condition" execution using a test bit. I am fairly new to Proppfrexx and I see the EXEC_VAR_SET command to establish a variable. But I am not sure where to properly run this command to define the variable as well as where and how to set the value of the variable.
Thanks!
At the start of the scheduler time slot I would like to first check if the DJ is live. If yes stop the automation for that time slot. If no live DJ, play a new recorded show with a specific file name and file location for that time slot. If that file does not exist, play an archived show using a filename in a different location.
Do I need to stack (script that runs another script) two "If Then Else" scripts to accomplish this decision making?
I also noted the AutoPlay condition at the bottom of the "if Then Else" script Condition setup. Can this be used in my scenario? As I understand it the AutoPlay condition being false would shut off the autoplay mode. If auto mode were off, would this allow for a live DJ preempt the schedule for that scheduler time slot?
I would like to test the script "condition" execution using a test bit. I am fairly new to Proppfrexx and I see the EXEC_VAR_SET command to establish a variable. But I am not sure where to properly run this command to define the variable as well as where and how to set the value of the variable.
Thanks!