View unanswered posts | View active topics It is currently Mon May 20, 2013 9:49 pm



Reply to topic  [ 2 posts ] 
 Applescript broken with beta 7 
Author Message

Joined: May 26, 2006
Posts: 78
Post 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


Fri Oct 13, 2006 12:00 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11689
Location: Texas
Post Re: Applescript broken with beta 7
Hi David,

Linked AppleScripts actions (not embedded) are now run as a separate process and thus need to use a tell app "IndigoServer" block (not just a using terms from app block). Let me know if that helps.

Regards,
Matt


Fri Oct 13, 2006 12:07 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.