• 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 length limitations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • FileMaker Error on Do Script
      • From: Jason Bourque <email@hidden>
References: 
 >Script length limitations (From: Zack Jarrett <email@hidden>)
 >Re: Script length limitations (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Script length limitations
  • Next by Date: Re: Spotlight & UI Scripting
  • Previous by thread: Re: Script length limitations
  • Next by thread: FileMaker Error on Do Script
  • Index(es):
    • Date
    • Thread