
Applescript broken with beta 7
I have an action that executes a applescript file to play either iTunes or XM Radio depending on the value of a variable.
It has always worked fine but since version 7 (or possibly previous version) has stopped working.
If I cut and paste the applescript and embed it in the action it works fine.
The script is;
using terms from application "IndigoServer"
if value of variable "iTunesOn" is "true" then
tell application "Zephir Station"
fire zephir command "DVD Input" of component "JVC_Receivers_RX-884VBK"
end tell
iTunesPlay()
else
tell application "Zephir Station"
fire zephir command "TV/DBS Input" of component "JVC_Receivers_RX-884VBK"
end tell
end if
set value of variable "MusicPlay" to "true"
end using terms from
Does anyone have any ideas as to why it no longer works as a file?
Thanks
David
Visit Scale Replicas