Re: AppleScript in 10.9
Re: AppleScript in 10.9
- Subject: Re: AppleScript in 10.9
- From: Shane Stanley <email@hidden>
- Date: Wed, 23 Oct 2013 11:45:20 +1100
On 23 Oct 2013, at 11:35 AM, Alex Hall <email@hidden> wrote:
> So, are there any limitations? Such as, can only installed frameworks be used, or can any objc library work?
You can use any framework. The libraries can be stored in one of the system Script Libraries folders, or you can embed them in script apps or packages for portability. And you can embed a framework within a library.
When you add a "use framework ..." line, the search path is first the library's bundle itself, then the usual framework search paths. Or if you wish, you can use a full path to a framework rather than just its name.
So you can take a third-party framework, wrap it in an ASObjC-based library, add an .sdef file for terminology, and you have something like a scripting addition but with much greater control over when it's loaded.
> Sorry, I don't have the link for the documentation you sent, and the Safari update did odd things to my opened tabs...
<http://macosxautomation.com/mavericks/index.html>
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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