• 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: Fast Loading & updating of Handler Libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast Loading & updating of Handler Libraries


  • Subject: Re: Fast Loading & updating of Handler Libraries
  • From: JJ <email@hidden>
  • Date: Tue, 13 Nov 2001 23:19:15 +0100

> Opinions needed.
>
> Here what I want to do.
>
> Create a template script that will at run time will autoload a complete
> handler library.
> The handler library will be a compiled run only script in a known location
> on multiple machines(clients).
> I will keep & update the library master on own machines.
>
> And my questions:
>
> Can the library be over 32k? How big is too big?

The biggest you can compile.

> Also, I initially tried a script server assistant. But it failed when script
> app "A" told script app "B" told script app "C" to use one of the script
> server assistant handlers. Two levels I thinked worked but three didn't.

It shouldn't fail, but it's so difficult find errors when using many levels.
You could try enclose all your subroutines into try statements with on error
handlers, such as:

property level : "Level 3: "

on executehandler(parameters)
try
...
on error mssg
return level & mssg
end try
end executehandler

It should return to your level (1?) anything like

Error: "Level 2: doesn't understand \"Level 3: couldn't translate k into
integer\""

JJ


  • Prev by Date: Re: Accessing the parent directory...
  • Next by Date: Newbie to Applescript
  • Previous by thread: RE: Fast Loading & updating of Handler Libraries
  • Next by thread: Box naming XTension for QXP 4.11 updated
  • Index(es):
    • Date
    • Thread