Re: Best practices
Re: Best practices
- Subject: Re: Best practices
- From: Shane Stanley <email@hidden>
- Date: Fri, 18 Feb 2011 09:18:28 +1100
- Thread-topic: Best practices
On 18/2/11 9:10 AM, "André Renault" <email@hidden> wrote:
>> Just to follow up on the previous thread about scripting addition commands
>> accepting POSIX paths: it looks like for any app that uses Cocoa scripting,
>> where its dictionary says it wants a *file*, it will accept an alias, file,
>> POSIX file, POSIX path or HFS path.
>
> I never realized that. Thanks!
I don't know that it's documented anywhere. Ironically, one of the few
places in standard additions where the range of types you can provide is
more restricted is the read command -- where it says *any* rather than
*file*. (But it does spell out the requirements clearly.)
--
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