Hello.
I have a simple trigger that sends
&hs.RunEx "Pioneer.txt", "SendCommand", "VU"
to my Pioneer Receiver.
I would like the command sent to be different based on the status of a device. In non script speak this would be...
If device&1 = "Power Off"
then send "&hs.RunEx "Pioneer.txt", "SendCommand", "VU""
else send "&hs.RunEx "Pioneer.txt", "SendCommand", "ZU""
Could someone help me translate this into vb?
Thanks
Jon
I have a simple trigger that sends
&hs.RunEx "Pioneer.txt", "SendCommand", "VU"
to my Pioneer Receiver.
I would like the command sent to be different based on the status of a device. In non script speak this would be...
If device&1 = "Power Off"
then send "&hs.RunEx "Pioneer.txt", "SendCommand", "VU""
else send "&hs.RunEx "Pioneer.txt", "SendCommand", "ZU""
Could someone help me translate this into vb?
Thanks
Jon
Comment