• 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
Script application "bundles" that are read-only: error when quitting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script application "bundles" that are read-only: error when quitting


  • Subject: Script application "bundles" that are read-only: error when quitting
  • From: Stephen Jonke <email@hidden>
  • Date: Sun, 17 Jul 2005 22:23:21 -0400

Is this a known bug? If a script application was saved as an "Application bundle" and then the script is run with read-only privileges, you get an error at quit saying that it can't save changes to the script. Specifically:

-5000: Could not save changes to this script because you do not have the necessary access privileges

If the script is saved instead as an "application" (not a bundle), you don't get this error message, instead it just doesn't save changes to properties at quit. That's the behavior I want. Is there any way to work around this issue for application bundles? I want to use a bundle so I can have a real icon, version information in Get Info, etc, but now if a user without write privileges to the script application bundle runs it, they get this error at quit.


Note that I tried putting "ignoring application responses" around a "continue quit" statement in a quit handler, but this didn't work. Nor did "try".

Steve

_________________________________________________________________
Stephen Jonke                                  email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Script application "bundles" that are read-only: error when quitting
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Using the document element in TextEdit
  • Next by Date: Re: what's the ascii for the escape key, and bonus question
  • Previous by thread: Re: Script error in applications Script Menu
  • Next by thread: Re: Script application "bundles" that are read-only: error when quitting
  • Index(es):
    • Date
    • Thread