Re: AS Library Question
Re: AS Library Question
- Subject: Re: AS Library Question
- From: Chris Page <email@hidden>
- Date: Thu, 17 Dec 2015 05:00:17 -0800
> On Dec 7, 2015, at 2:59 PM, Stan Cleveland <email@hidden> wrote:
>
> On Dec 6, 2015, at 09:12 AM, has <email@hidden> wrote:
>
>> While handlers may be implemented as objects of type `handler`, that's purely an internal implementation detail.
>
> Ah, gotcha. "Pay no attention to that man behind the curtain," to quote the Wizard.
has has mischaracterized handlers. Please see my reply to his message.
>> AS's official library mechanism loads scripts… and calls are passed from your scripts to library scripts using OSA's existing delegation system or [more likely] chicken voodoo.
>
> Sounds like AppleScript has something in common with the old SCSI peripheral interface.
There is no magic or mystery here. Apart from the mechanism for locating and loading script libraries from files, once it's loaded it's just another script object. See my reply to has for more details.
>> (Basically, official libraries = more design flaws, more complexity, and more opportunities to blow up on you when you're not expecting it.)
>
> Okay, now I’m suspicious of official libraries and have to ask: do you, as author of the AppleMods Loader library mechanism still recommend its use? It has worked flawlessly here for many years and I can confirm that it is still working in Yosemite. Perhaps my idea to switch to the "official" library mechanism is impulsive and hasty. Maybe it (AppleMods) ain’t broke.
I have no idea what has is trying to convey here. I encourage everyone to use AppleScript's library support and to share libraries with one another, just as users of other scripting languages do.
If there are any libraries you'd like to see supplied by Apple and installed with the system, please file radars with specific requests: https://developer.apple.com/bug-reporting/
--
Chris Page
The other, other AppleScript Chris
_______________________________________________
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