Re: AppleScript's script size limit
Re: AppleScript's script size limit
- Subject: Re: AppleScript's script size limit
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 20 Oct 2002 15:11:10 -0700
On 10/20/02 2:55 PM, "david" <email@hidden> wrote:
>
On Sunday, October 20, 2002, at 02:28 PM, Paul Berkowitz wrote:
>
>
> OS 10.2.1, AS 1.9
>
...Snip
>
> But it seems to me that the limit I once hit in AS 1.3.7 was much
>
> higher
>
> than that. Is the AppleScript team even aware of this 140K limit, or
>
> do they
>
> do all their testing in Script Editor? Is this limit something
>
> essential,
>
> built in, or could it be expanded?
>
>
isn't that why AppleScript Studio was developed?
No. Not at all.
>
>
AppleScript Studio is a powerful application design tool that combines
>
features from AppleScript, Project Builder, Interface Builder, and the
>
Cocoa application framework. You can write a complete application using
>
AppleScript and design your own user interface. AppleScript Studio also
>
supports Cocoa, Java, and Objective C.
Well. i wasn't intending to make an application this time. I'm scripting
another application: two other applications actually. And it doesn't need
much of an interface nor much user interaction. It just chugs along. But
that's totally irrelevant here anyway. If it's a limitation in AppleScript,
you couldn't write a single script of 141K source text in AS Studio either:
you'd hit the same limit. The language is AppleScript, regardless. And the
recommended MVC method for AS Studio: lots of scripts, some being
controllers loading the others, is precisely what I said I could use as a
workaround here. I can load other compiled scripts (libraries, no run
handler) from my main script application, in just the same way that you do
it in Studio. And that's what I'll do.
I just thought I'd let people know what the limit I found was, and see if
anyone else found the same thing. Also, if it is a real, intended, limit,
_it should be DOCUMENTED by Apple_. If, on the other hand, it's a temporary
glitch in AS 1.9, I'd like to know.
>
>
Prehaps we are trying to expand AppleScript into a programming language
>
to write hundreds of lines of code - i don't think that was the reason
>
it was developed.
Then you'd better watch out in AS Studio too! AS Studio provides a beautiful
Interface and some pre-fabricated Cocoa code. But it's all tied together
with AppleScript, the same language that "wasn't written to write hundreds
of lines of code".
I'm trying to finish this script, as soon as Apple fixes the Address Book
scripting bugs, and get back to my AS Studio project, which is a lot more
fun than this script I was asked to write.
>
--
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.