• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Old AppleScript applications stopped working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Old AppleScript applications stopped working


  • Subject: Re: Old AppleScript applications stopped working
  • From: KOENIG Yvan <email@hidden>
  • Date: Sat, 25 Aug 2007 18:17:58 +0200


Le 25 août 07 à 17:53, Doug McNutt a écrit :

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.

A "Run only" script can no longer be edited. Never use this format if you don't own an editable copy of your scripts.


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?

Yvan KOENIG _______________________________________________ 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
References: 
 >Old AppleScript applications stopped working (From: Doug McNutt <email@hidden>)

  • Prev by Date: Old AppleScript applications stopped working
  • Next by Date: Re: AppleScript-Users Digest, Vol 4, Issue 415
  • Previous by thread: Old AppleScript applications stopped working
  • Next by thread: Re: Old AppleScript applications stopped working
  • Index(es):
    • Date
    • Thread