• 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: Script Editor freaks out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Script Editor freaks out


  • Subject: RE: Script Editor freaks out
  • From: "Amandeep Singh" <email@hidden>
  • Date: Thu, 17 Jan 2008 16:58:27 -0700
  • Thread-topic: Script Editor freaks out

Ok, so we have a SDK in multiple languages. That SDK is actually
described in XML, and we generate code for multiple languages at compile
time. We use "Velocity" templates to generate that code.

And now we need to add support for AS, which is almost done except for
this issue.

Does that explanation help?

Thanks,
Aman

-----Original Message-----
From: applescript-users-bounces+asingh=email@hidden
[mailto:applescript-users-bounces+asingh=email@hidden] On
Behalf Of has
Sent: Thursday, January 17, 2008 4:27 PM
To: Applescript Users
Subject: Re: Script Editor freaks out

On 17 Jan 2008, at 23:13, Amandeep Singh wrote:

> We generate scripts in text format, and then manually copy-paste them
> into script editor, so that formatting happens and syntax is checked.
>
> The scripts tend to go really big. When the file size reaches around
> 400K, script editor stops formatting the scripts.

You're likely hitting one of the AppleScript language's internal limits.

> Any suggestions?

Write a better code generator that produces more concise output /
avoid using code generation in the first place / use another language
that doesn't have such limitations.

For more specific suggestions, provide more details about what your
code generator needs to do and examples of its input and output.

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
com
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Script Editor freaks out
      • From: has <email@hidden>
    • Re: Script Editor freaks out
      • From: "Mark J. Reed" <email@hidden>
References: 
 >scrpting Script Editor (save as script) (From: "Yvon Thoraval" <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: Luther Fuller <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: "Mark J. Reed" <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: Luther Fuller <email@hidden>)
 >Using script bundles (From: "Amandeep Singh" <email@hidden>)
 >Re: Using script bundles (From: Jon Pugh <email@hidden>)
 >Script Editor freaks out (From: "Amandeep Singh" <email@hidden>)
 >Re: Script Editor freaks out (From: has <email@hidden>)

  • Prev by Date: Re: Script Editor freaks out
  • Next by Date: Re: Get only the name of the file, instead of the whole path!
  • Previous by thread: Re: Script Editor freaks out
  • Next by thread: Re: Script Editor freaks out
  • Index(es):
    • Date
    • Thread