08-30-2016, 07:52 AM
I am trying to streamline my system and re-use code where I can. So, I am want to use the Global actions more and to do that I need to pass either a variable or Action Parameter from either a button on the IV or a remote control to the Global Action. This variable will be the room name so the Global action can act according to the room name.
I have variables driver set for each room - Variables_AV.VideoSource_xxx
xxx = Room names
I can pass the value I want but I cannot get it into the field moniker in the Global Action
If System Equals($(Variables_AV.VideoSource_%(LVar:CQCActParm_1)))
would convert to after passing the variable from the button:
If System Equals($(Variables_AV.VideoSource_Office))
I recall doing this a long time ago but cannot find my notes or through a site search.
I have variables driver set for each room - Variables_AV.VideoSource_xxx
xxx = Room names
I can pass the value I want but I cannot get it into the field moniker in the Global Action
If System Equals($(Variables_AV.VideoSource_%(LVar:CQCActParm_1)))
would convert to after passing the variable from the button:
If System Equals($(Variables_AV.VideoSource_Office))
I recall doing this a long time ago but cannot find my notes or through a site search.
System: WHS, UPB, Plex, Elk
Drivers: Autopatch, DataLog DB, DTV IP, GC-100, IRA, Logic Server, Variable Driver, Weather Underground
Drivers: Autopatch, DataLog DB, DTV IP, GC-100, IRA, Logic Server, Variable Driver, Weather Underground