• 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: Emmanuel LEVY <email@hidden>
  • Date: Thu, 17 Feb 2011 13:03:51 +0100

Sorry, I'm not sure at all that all apps like "posix file f".

We don't use any app actually - none is fast and reliable enough for us, including System Events [1] - only StandardAdditions. "info for" and the like work well with "posix file f".

posix paths are lovely, because, well, you just manipulate strings, specifying a file's container folder is a mere regular expression, etc.

Emmanuel

[1] I posted here our instead-of-System-Events osax, Files.osax.

On Feb 16, 2011, at 11:03 PM, Shane Stanley wrote:

On 17/2/11 1:56 AM, "Emmanuel LEVY" <email@hidden> wrote:

I've got one, if you like.

Never use anything else than posix paths. Whenever some command
doesn't like posix paths, just insert "posix file" before the posix
path.

Being consistent has merit. Are you sure all apps that require aliases will
accept furls instead?


--
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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Best practices
      • From: Shane Stanley <email@hidden>
    • Re: Best practices
      • From: "email@hidden" <email@hidden>
    • Re: Best practices
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Best practices (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Finder can't count?
  • Next by Date: Re: Best practices
  • Previous by thread: Re: Best practices
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread