Re: Checking on the existence of a file
Re: Checking on the existence of a file
- Subject: Re: Checking on the existence of a file
- From: Shane Stanley <email@hidden>
- Date: Tue, 04 Dec 2012 22:24:50 +1100
On 04/12/2012, at 8:14 PM, Harald E Brandt <email@hidden> wrote:
> Likewise, the omission of parentheses on those parameterless methods will also yield NSNumbers
I think leaving off the parentheses is roughly equivalent to using key-value coding -- like using 'valueForKey_("isAbsolutePath")' or 'valueForKey_("absolutePath")'. But again, that doesn't explain the class difference.
> I actually think that it would have been much better to not even allow omission of those parentheses, since you never know what a future version of OS X might do with that syntax.
If it is a KVO thing, be careful what you wish for...
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden