Re: Script application "bundles" that are read-only: error when quitting
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