Re: BUG: Store script Perversity - correction
Re: BUG: Store script Perversity - correction
- Subject: Re: BUG: Store script Perversity - correction
- From: Jon Pugh <email@hidden>
- Date: Sat, 28 Dec 2002 15:52:01 -0800
At 3:33 PM -0800 12/28/02, Paul Berkowitz wrote:
>
Tested: the same bug occurs when all scripts were saved as applications with
>
SE 2.0 beta. The original "Updater" script (4K text, 72 K as application) is
>
completely erased, and what's there now when opened in SE 2 or SD 3 is
>
instead the main script (110K text, 544 K as application) with updated
>
properties, while the real main script did not save the changed properties.
>
>
It's evidently an AppleScript bug: when the main script is large it seems to
>
get confused as to which script object it's supposed to store in the
>
specified file, although it understands which script object's properties to
>
modify well enough until has to store the script. Bad.
Here's a supposition.
Suppose your file variable that you are using, I believe it was:
updaterScriptFile
Suppose it never got initialized. It uses some empty file reference. This would often be mistaken for the application resource file and behave like you describe.
Jon
_______________________________________________
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.