On 10 Nov 2015, at 1:47 AM, Dave <d...@looktowindward.com> 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 
doThis:withThat: interleaved syntax was introduced to AppleScript in 10.9; 
before that, you would use doThis_andThat_() (which is what happens under the 
hood, and can still be used). But never an underscore where there is no 
parameter.

-- 
Shane Stanley <sstan...@myriad-com.com.au>
<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

Reply via email to