Re: Resolving an alias
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