• 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: Resolving an alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolving an alias


  • Subject: Re: Resolving an alias
  • From: Roger Howard <email@hidden>
  • Date: Fri, 30 Oct 2009 16:29:12 -0700


On Oct 30, 2009, at 9:12 AM, Emmanuel LEVY wrote:

We think it's better to work with posix paths rather than the native mac types for files.

Working with paths vs. aliases (and file specs) is really a matter of purpose. I use aliases where I'm wanting to refer to a specific file that may be at risk of the user moving/renaming it, such as during a drag/drop-initiated process, where the user is already interacting the with the file in their file manager.


I work with paths where it's convenient - for instance, I often write wrappers around command line tools, where paths make sense; or when I want to reference a fixed location, and do *not* want the intelligence of aliases complicating things.

Different mechanisms for different needs,

Roger
_______________________________________________
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: 
 >Resolving an alias (From: Thomas Fischer <email@hidden>)
 >Re: Resolving an alias (From: Sander Tekelenburg <email@hidden>)
 >Re: Resolving an alias (From: Thomas Fischer <email@hidden>)
 >Re: Resolving an alias (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Resolving an alias
  • Next by Date: Encoding text file to write XML
  • Previous by thread: Re: Resolving an alias
  • Next by thread: Re: Resolving an alias
  • Index(es):
    • Date
    • Thread