• 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: Open Finder Window to a Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open Finder Window to a Directory


  • Subject: Re: Open Finder Window to a Directory
  • From: Michelle Steiner <email@hidden>
  • Date: Sat, 15 May 2010 16:38:11 -0700

On May 15, 2010, at 4:26 PM, Marconi wrote:

set the PathToOpen to path to documents folder
tell application "Finder" to open the PathToOpen

-- Michelle

Not quite what I need.

Given a path (/Users/marconi/Documents/HomeMovies or volumes:Backups:HomeMovies) how do you tell Finder to open it?

It's exactly what you need:

set the PathToOpen to POSIX file "/Users/marconi/Documents/HomeMovies"
tell application "Finder" to open the PathToOpen

Or even this:

tell application "Finder" to open POSIX file "/Users/marconi/Documents/HomeMovies"

-- Michelle

--
Nobody ever procrastinated their way to the top.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Open Finder Window to a Directory
      • From: Marconi <email@hidden>
References: 
 >Open Finder Window to a Directory (From: Marconi <email@hidden>)
 >Re: Open Finder Window to a Directory (From: Michelle Steiner <email@hidden>)
 >Re: Open Finder Window to a Directory (From: Marconi <email@hidden>)

  • Prev by Date: Re: Open Finder Window to a Directory
  • Next by Date: Re: Open Finder Window to a Directory
  • Previous by thread: Re: Open Finder Window to a Directory
  • Next by thread: Re: Open Finder Window to a Directory
  • Index(es):
    • Date
    • Thread