Re: "Save changes to script" when it terminates?
Re: "Save changes to script" when it terminates?
- Subject: Re: "Save changes to script" when it terminates?
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 11 Mar 2004 16:30:36 -0800
On 3/11/04 12:17 PM, "Chap Harrison" <email@hidden> wrote:
>
I ran, from a write protected directory, a small Applescript which
>
simply installs files. It ran correctly, but when it ended I received
>
an error as follows:
>
>
"Could not save changes to script because you do not have necessary
>
write permission. -5000"
>
>
What sort of changes might the script have been trying to save?
>
Anything crucial? I'd like to distribute the installer on a CD but
>
this is a clunky ending to an otherwise-successful install.
Your top-level variables, which are global by default and saved. If you
explicitly declare them all as local at the top of the script, you should
not have this problem.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.