• 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: Opening Hidden Folders in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening Hidden Folders in Finder


  • Subject: Re: Opening Hidden Folders in Finder
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 15 Jun 2001 15:05:46 -0700

On Thursday, June 14, 2001, at 08:24 AM, Mark Phipps wrote:

How can I open a hidden folder with the Finder in MacOSX?

Here is what I have so far:

tell application "Finder"
open folder "var" of the startup disk
end tell

I am logged in as root, so I should be able to access this
folder. It tells me that it can't find the folder.

It's trying to only let you do what you can see from the interface. Since "var" is normally hidden, no dice. (I'm not sure, but this should probably count as a bug, seeing as how you can "Go To" var with no problem.) You can work around this, however:

path to the startup disk as string
tell application "Finder"
open alias (the result & "var")
end


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: Opening Hidden Folders in Finder
      • From: Mark Phipps <email@hidden>
References: 
 >Opening Hidden Folders in Finder (From: Mark Phipps <email@hidden>)

  • Prev by Date: Applescript, AOL, & Webpages
  • Next by Date: Eliminating items from a MS Word list
  • Previous by thread: Opening Hidden Folders in Finder
  • Next by thread: Re: Opening Hidden Folders in Finder
  • Index(es):
    • Date
    • Thread