• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best practices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Best practices (From: AndrĂ© Renault <email@hidden>)

  • Prev by Date: Re: Best practices
  • Next by Date: Applescript Studio and Snow Leopard?
  • Previous by thread: Re: Best practices
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread