Re: trivial Finder path problem
Re: trivial Finder path problem
- Subject: Re: trivial Finder path problem
- From: Christopher Stone <email@hidden>
- Date: Sun, 11 Dec 2016 17:02:35 -0600
On Dec 11, 2016, at 04:06, Yvan KOENIG <email@hidden> wrote:
In fact, the handler is only needed for $HOME based path
Not when used in a Finder-Tell block. :)
The point of the handler is to be able to feed it a path string in any circumstance and get an expected result. It also drops several lines of code to one line and is hidden in a library out-of-sight on my system.
Personally I use relative-aliases whenever possible and have a script to create them from the Finder-selection.
set myAlias to alias ((path to downloads folder as text) & "2016:")
I only use POSIX Paths when I specifically need them, or I'm dealing with a user who will understand them better than aliases and/or relative-aliases.
(“Relative-alias” is my term for an alias anchored to a known path-to location.)
|
_______________________________________________
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