Old AppleScript applications stopped working
Old AppleScript applications stopped working
- Subject: Old AppleScript applications stopped working
- From: Doug McNutt <email@hidden>
- Date: Sat, 25 Aug 2007 09:53:42 -0600
The OS is 10.3.9 on a sawtooth G4 because I'm still not ready to give up my SE/30 file server. Yes I still use a Western Electric model 500 telephone. Script Editor says it's version 2.0, 11 July 2007 05:02.
I have several very simple "applications" that were prepared long ago to do simple things. Tell Finder to update frontmost window, tell Safari to empty cache, Execute some shell script that mounts my SE/30 disks on login (10.1 needed that.). Some of them just stopped working! No error message. Nothing. Double click, open from Finder's menu, open from a BBEdit worksheet. All the same. I have no idea, until I try using one, which will work and which won't.
The fix is to reopen the files in Script Editor and re-save them as applications while checking the box named "save as run only".
I don't remember that box from earlier days and the scripts don't contain an "on run" block. They're just a few lines and some don't have any tell blocks in them. Some use system events scripting. The compile option in Script Editor doesn't complain.
Does "run only" imply some kind of protection against changes? It doesn't seem to but I am the owner. I don't think Aqua applications use the UNIX execute bit anyway.
Is it possible that an Apple security update did something? Is it possible that something timed out after 4 years? Did the underlying AppleScript rules change? Are AppleScript apps really APPL's or are they really run by Script Editor which seems to be fairly new?
--
--> The best programming tool is a soldering iron <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden