INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: beginner44 on May 30, 2013, 04:52:46 pm

Title: Need some help for scripting
Post by: beginner44 on May 30, 2013, 04:52:46 pm
hello everybody,

I need your help to write a simple script (VB ?) that would launch an external program depending on the zone currently in use.  So the logic would be :


if playing zone is A then run extrnal program AA
else if playing zone is B then run external program BB
end

The script must be monitoring constantly which zone is currently used in order to execute these programs as soon as possible.

For your understanding these programs (.bat) will run php scripts that will turn on/off my amplifiers, turn off the lights, and so on... (using a web relay board such as : http://www.gce-electronics.com/fr/57-carte-8-relais-ethernet-ip-ipx800-v3.html (http://www.gce-electronics.com/fr/57-carte-8-relais-ethernet-ip-ipx800-v3.html)).  One zone if for music (2.0), the other for HC (7.2).


Many thanks to all for your help.