• 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: How can we pass unix file paths to the finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How can we pass unix file paths to the finder?
      • From: Timothy Bates <email@hidden>
References: 
 >How can we pass unix file paths to the finder? (From: Timothy Bates <email@hidden>)

  • Prev by Date: RE: remove suffix
  • Next by Date: Re: Illustrator 9 Duplicate Command
  • Previous by thread: How can we pass unix file paths to the finder?
  • Next by thread: Re: How can we pass unix file paths to the finder?
  • Index(es):
    • Date
    • Thread