• 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: BUG: Store script Perversity - correction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: BUG: Store script Perversity - it's the Quit handler!
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: BUG: Store script Perversity - correction (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: BUG: Store script Perversity - correction
  • Next by Date: Re: FM Omitted property
  • Previous by thread: Re: BUG: Store script Perversity - correction
  • Next by thread: Re: BUG: Store script Perversity - it's the Quit handler!
  • Index(es):
    • Date
    • Thread