Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript and plug-ins



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%20Reference%20Library/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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >AppleScript and plug-ins (From: John Calsbeek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.