Re: Passing InDesign variables from one script to an other
Re: Passing InDesign variables from one script to an other
- Subject: Re: Passing InDesign variables from one script to an other
- From: Stan Cleveland <email@hidden>
- Date: Wed, 03 Apr 2013 14:18:52 -0700
On Apr 3, 2013, at 5:07 AM, Bert Groeneveld wrote:
> I have a very large applescript that has too much lines (5000+). It's impossible to save with Script Debugger.
Hi Bert,
I ran into the same problem some time back. Mark Alldritt, Debugger's developer, gave me the following advice. Even if you continue with splitting your script, the information is useful.
The problem is not that your script has too many lines. Rather, it's that your script has too many style runs. In a script, a "style run" is a contiguous sequence of characters that share common styling (font, style, size, and color). If you simplify your AppleScript Formatting preferences to use fewer variations and more commonality in styling, you should be able to compile scripts with more lines.
Debugger preferences on my Mac, for example, are set to use the same format (12-pt Verdana in blue) for Language keywords, Application keywords, Command names, Parameter names, Classes, Properties, and Enumerated values. No italics or bold--all just regular Verdana. That alone should increase the number of lines that will compile.
Also, be aware that when you use debug mode, hidden text is introduced into your script by Debugger, thus adding even more style runs. So just exiting debug mode may allow you to compile and save a long script that won't compile in debug mode. Working without debug mode is not fun, but that just may be the difference that allows you to save your script.
HTH,
Stan C.
_______________________________________________
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