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

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


  • Subject: Re: Script application "bundles" that are read-only: error when quitting
  • From: has <email@hidden>
  • Date: Mon, 18 Jul 2005 15:57:21 +0100

Stephen Jonke wrote:

>So I guess the real question is, is there way to have a property or global variable that is not persistent and thus does not result in an attempt to save the data to the script application itself?

If it's a stay-open applet that handles multiple events, no. If it's a simple batch-processing script, here's the workaround to use:

on main()
    -- [main code here]
    return
end main

on run
    local scpt
    copy me to scpt
    scpt's main()
end run

Also, file a feature request with Apple for an SE 'Save As' option that allows you to create non-persistent applets.

HTH

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
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

  • Prev by Date: Re: TextEdit script
  • Next by Date: Re: what happened to Mail's scripts menu?
  • Previous by thread: Re: Script application "bundles" that are read-only: error when quitting
  • Next by thread: name of file
  • Index(es):
    • Date
    • Thread