Re: How can we pass unix file paths to the finder?
Re: How can we pass unix file paths to the finder?
- Subject: Re: How can we pass unix file paths to the finder?
- From: Shane Stanley <email@hidden>
- Date: Fri, 28 Sep 2001 08:46:30 +1000
On 28/9/01 1:35 AM +1000, Timothy Bates, email@hidden, wrote:
>
In OS X I find it easier to think in terms of
>
"~/Applications/"
>
Than
>
"Cortex:Users:tim:Applications"
>
>
>
Is there a way to say to the finder
>
>
tell application "Finder"
>
open folder "~/Desktop Folder"
>
end tell
>
>
And have it know that this is a valid unix path, not a garbage mac path?
What's wrong with:
tell application "Finder"
open folder "Desktop" of (path to current user folder)
end tell
or:
tell application "Finder"
open (path to desktop folder from user domain)
end tell
Think Mac ;-)
--
Shane Stanley, email@hidden