Script Editor Won’t Open Script

May 20th, 2005 | Tags:

A while back I got an email from someone who was having trouble running one of [my scripts][PCS] and also couldn’t open it in Script Editor. Though I can’t find the original email, I think I realize why: the Script Editor is doing an exhaustive search (probably across the network in his case) for an application or OSAX that has handle an event in the code, and the OSAX doesn’t exist on the system. Like in this code:

try

«event event WCHYWPza» 0
«event event WCHYWPza» 0

end try

But since this script opens in almost zero time, perhaps the problem lies elsewhere. Or, Script Editor finally cached the fact that the event doesn’t exist. Either way, I’m going to install the [WCHandy][] OSAX.

[PCS]: http://applescript.plaidcow.net/
[WCHandy]: http://homepage.mac.com/philip_aker/files/scpt.html

No comments yet.
You must be logged in to post a comment.