Re: AppleScript and plug-ins
Re: AppleScript and plug-ins
- Subject: Re: AppleScript and plug-ins
- From: King Chung Huang <email@hidden>
- Date: Fri, 01 Jul 2005 12:38:45 -0600
I've successfully added AppleScript support to Keynote via a plugin
using that method: - [NSScriptSuiteRegistry loadSuitesFromBundle:].
So, it definitely works.
King Chung Huang
Learning Commons
University of Calgary
On Jun 30, 2005, at 10:59 AM, John Calsbeek wrote:
Is it possible for a plug-in to add new script suites to the main
application? I'm thinking about putting most of my application's
functionality in the plug-ins, but not if it means forfeiting
AppleScript. Of course, this could be a complete non-issue... I
haven't worked enough with Cocoa & AppleScript to be sure. Somehow
I'm thinking that this is possible, and that the reason Script
Editor launches an application before it opens its script
directory is to give it a chance to load its plug-ins... is that
totally off-base?
For the record, this appears to be possible through the method -
[NSScriptSuiteRegistry loadSuitesFromBundle:].
<file:///Developer/ADC Reference Library/documentation/Cocoa/
Reference/Foundation/ObjC_classic/Classes/
NSScriptSuiteRegistry.html#//apple_ref/doc/uid/20000040-BGBCGEHD>
-John Calsbeek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden