• 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
Possible Bug: AppleScript Size Limit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Bug: AppleScript Size Limit?


  • Subject: Possible Bug: AppleScript Size Limit?
  • From: Colin Stagner <email@hidden>
  • Date: Fri, 2 Jan 2004 19:07:48 -0600

I have encountered some type of bug or limit as to the maximum size of an AppleScript. I have discussed my problem with Emmanuel at Satimage Software (satimage (no-spam-at) mac.com)(the developer of Smile), and he recommended that I pose the question to this mailing list.

I have developed a fairly large script-- 7898 lines in all-- which, if it gets any larger, will not save properly. Script Editor will produce a "Save: couldn't save document" message (although the script will compile). Smile 2.5.9 (OS 10.3.2) is more verbose, generating a "dosaveas: Internal table overflow" message. According to my information, this is a -2707 error, but I can't find any other information about this error. I am attempting to save the script as a .scpt-- this format is required by the application I am running it in.

In order to compile this script, the "AS formats" must be set to the same thing (except "uncompiled text," which must be different). This can be accomplished via Script Editor > Preferences > Formatting. (This is yet another bug that affects large scripts.)

In order to show that this is not an error on my part, I duplicated one of my handlers from a working copy of the script and renamed it (and no, I am not using a name reserved by AppleScript). This doesn't really add any complexity except another handler (and I have experienced these errors when I add code to existing handlers), and there is no new code to foul things up.

Anyone with experience working on large scripts or with this error, please contact me at cbs228 (at) earthlink.net. Your message will bounce (spam filter), but do not worry as I will read it eventually. I don't want to send the script over the mailing list because of its length-- I'd clog up everyone's inbox.

Thank you for your attention.

-Colin Stagner
_______________________________________________
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: Possible Bug: AppleScript Size Limit?
      • From: christian vick <email@hidden>
  • Prev by Date: Re: adding icon in Xcode AppleScript Studio
  • Next by Date: testing
  • Previous by thread: Re: File sharing quits by itself
  • Next by thread: Re: Possible Bug: AppleScript Size Limit?
  • Index(es):
    • Date
    • Thread