• 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: AppleScript's script size limit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript's script size limit


  • Subject: Re: AppleScript's script size limit
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 05 Nov 2002 12:41:03 -0800

On 1/6/70 4:31 PM, "Chris Espinosa" <email@hidden> wrote:

> On Monday, November 4, 2002, at 08:54 AM, a Emmanuel
> <email@hidden> wrote:
>
>> At 4:52 PM -0800 03/11/02, Paul Berkowitz wrote:
>>> On 11/3/02 4:23 PM, "Emmanuel" <email@hidden> wrote:
>>>
>>> Somebody must be fiddling with the structure of AppleScript, or else
>>> the
>>> frameworks it's based upon, it seems to me.
>>
>> How wonderful it would be if someone from Apple considered providing
>> us with a few hints ...
>
> Sorry for the delay, I'm a little behind on my mail after a short
> vacation.
>
> We've looked into this and it turns out to be a bug introduced in
> AppleScript 1.9 in Jaguar. In a code cleanup the type of an internal
> variable was changed from signed to unsigned, which had the unfortunate
> (and undetected) effect of breaking a calculation of the total number
> of pieces of formatted text in a script. AppleScript Formatting sets
> different fonts, sizes, and styles for each "part of speech" in the
> AppleScript language, and the limit is on the total number of different
> formatting elements, regardless of the total length in characters of
> the script. That's why complex scripts (with a lot of formatting
> changes) hit the limit sooner than simpler scripts (with, for example,
> the same part of speech repeated over and over again).
>
> This will be fixed in an upcoming release, sooner rather than later.
>
> Chris Espinosa
> Apple


Great, Chris! And thank you for the detailed reply. (I just _knew_ it had to
do with the formatting elements, but that didn't help me too much.;-))

--
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.

  • Follow-Ups:
    • Re: AppleScript's script size limit
      • From: Emmanuel <email@hidden>
  • Prev by Date: [PR] 24U Appearance OSAX 2.1 for Mac OS X available!
  • Next by Date: Re: [NEWBIE] Open file
  • Previous by thread: Re: AppleScript's script size limit
  • Next by thread: Re: AppleScript's script size limit
  • Index(es):
    • Date
    • Thread