• 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: Fri, 18 Feb 2011 09:31:03 +0100

On Feb 18, 2011, at 1:11 AM, Shane Stanley wrote:

On 18/2/11 10:52 AM, "Emmanuel LEVY" <email@hidden> wrote:

Well, regular expressions make strings into strings, not aliases into
aliases or furls into furls, do they?

Right -- but I was comparing POSIX paths and HFS *paths*, so strings with
strings.

Regarding HFS paths, maybe I don't understand exactly what you're
saying, but they are not an option - not a safe and easy one, say - in
configurations where it's allowed to have several mounts with the same
name.

That sounds more like a valid reason. So how do POSIX paths handle such a
situation differently?

do shell script "ls /Volumes"

 --  "Library
Library-1
Macintosh HD"

So you just say: /Volumes/Library-1/etc or it may be /Network/ Library-1/etc.

Emmanuel

_______________________________________________
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: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Backup script
  • Next by Date: List of all applications
  • Previous by thread: Re: Best practices
  • Next by thread: Re: Best practices
  • Index(es):
    • Date
    • Thread