La serviciu am doua servere MAC ce ruleaza grafica si play-eaza video-uri. Folosim softurile de la Softron.
Dupa lungi cautari am reusit sa fac sa ruleze actiunile local, insa, daca vreau sa dau actiuni de pe un server pe altul, nu reusesc. Stie cineva cum pot seta actiuni in retea?
codul este urmatorul:
on Action(parameter)
ignoring application responses
tell application “OnTheAir Switch”
set input of output 8 to 3
end tell
tell application “GPI Commander”
set state of output 8 to true
end tell
tell application “OnTheAir CG Controller”
send command “*PROJECT_PLAY*/CGProjects/MyProject.cg”
end tell
tell application “MovieRecorder”
tell first device
record
end tell
end tell
end ignoring
end Action