Re: AppleScript and plug-ins
Re: AppleScript and plug-ins
- Subject: Re: AppleScript and plug-ins
- From: John Calsbeek <email@hidden>
- Date: Thu, 30 Jun 2005 11:59:35 -0500
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