On 27/05/2012, at 12:30 AM, Peter wrote: > Just for clarification: > > This AS handler would then live in a .applescript file in my project wrapped > in > > script ASClassInstance
Yes. > And on of the above calls would live in a .m file containing > > #import <AppleScriptObjC/AppleScriptObjC.h> //no need to put this in main.m, > I guess No. The #import line needs to go wherever the [[NSBundle mainBundle] loadAppleScriptObjectiveCScripts] is, and main.m is the logical place. You might want to add an informal protocol for the method to the calling .m file to keep the compiler happy. > Does this require any special build settings? You probably want to change the OSA Compile setting for Save as Execute-Only to YES. -- Shane Stanley <sstan...@myriad-com.com.au> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com