Re: Script length limitations
Re: Script length limitations
- Subject: Re: Script length limitations
- From: Zack Jarrett <email@hidden>
- Date: Mon, 27 Sep 2010 17:30:00 -0700
Hi Stan,
I didn't include handlers in the try block, just calls to handlers. Sorry for the poor wording; I should have been more clear in my original post. The handlers all occur outside of the try block that's giving me headaches. One thing I've considered, but have yet to try, is to take all of the custom handlers and put them into a separate compiled script and use load script to get access to an object containing them. I already do this with various routines that I use regularly but I hadn't considering moving ALL of my handlers out of the generated script.
Best,
Zack
On Sep 27, 2010, at 5:22 PM, Stan Cleveland wrote:
>
> I'm curious as to how you're including handlers inside a try block. In a test, I couldn't get it to compile unless I put the handler in a script object. But that adds a level to the hierarchy for calling the handler:
> scriptObject's handlerCall()
> Instead of just:
> handlerCall()
_______________________________________________
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