Re: Another AppleScript-ObjC Bridge Question

2015-11-10 Thread Shane Stanley
On 10 Nov 2015, at 9:46 PM, Dave wrote: > > Just to clarify, I don’t need a “_” at all, anywhere? No. > The reason I added them is because in uses them in the example at: That's pre-10.9 syntax. Open Script Editor, and enter the code you see there: on

Re: Another AppleScript-ObjC Bridge Question

2015-11-10 Thread Dave
Hi Again Shane, Got it now, thanks a lot for this. All the Best Dave ___ 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

Re: Another AppleScript-ObjC Bridge Question

2015-11-10 Thread Dave
Thanks Shane, Just to clarify, I don’t need a “_” at all, anywhere? The reason I added them is because in uses them in the example at: http://appscript.sourceforge.net/asoc.html Thanks a Lot and All the Best Dave > On 9 Nov 2015, at 22:47, Shane

Re: Another AppleScript-ObjC Bridge Question

2015-11-09 Thread Dave
Hi, Got it working now, tt seems you don’t need the “_” after the name for init? Are the rules for when you need a “_” or not documented anywhere? All the Best Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Another AppleScript-ObjC Bridge Question

2015-11-09 Thread Dave
I’m trying to override init_ in using an AppleScript-ObjC Class, here is my code: on init_() continue init_() display dialog "HELLO WORLD" testOutlookAgain_("Hello") of me -- Add your subclass-specific initialization here. -- If an error occurs here, return

Re: Another AppleScript-ObjC Bridge Question

2015-11-09 Thread Shane Stanley
On 10 Nov 2015, at 1:47 AM, Dave wrote: > > Got it working now, tt seems you don’t need the “_” after the name for init? > > Are the rules for when you need a “_” or not documented anywhere? You don't need -- and in fact cannot use -- an underscore anywhere. The