INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Need some help for scripting  (Read 1106 times)

beginner44

  • Junior Woodchuck
  • **
  • Posts: 72
Need some help for scripting
« 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).  One zone if for music (2.0), the other for HC (7.2).


Many thanks to all for your help.
Logged
Pages: [1]   Go Up