TrajiklyHip - Blog - The Personal Blog of Aaron West
The Four Obsessions of an Extraordinary Executive by Patrick Lencioni         The Five Temptations of a CEO by Patrick Lencioni         Getting Things Done by David Allen         The Tin Roof Blowdown by James Lee Burke         The 7 Habits of Higly Effective People by Stephen R. Covey         Books I've recently read and recommend!
March 10, 2006

After reinstalling some development software the other day I needed to access some XML files that were in a hidden directory. Typically I would filter all my access to hidden files through the appropriate Terminal commands but I decided to look for a more elegant solution. Immediately, I found the following Terminal command that directs Apple Finder to show all hidden files:

defaults write com.apple.finder.AppleShowAllFiles ON

That's at least a start, but I don't want to fire up Terminal to run two simple commands, one to turn on hidden file viewing and one to turn it off - plus, restarting Finder altogether. After digging around a bit I found an AppleScript that automates the process. I made a few adjustments to suit my needs and I was in business. Seeing how useful my MusicStoreAutoPlay script was I decided to offer this one up as well.

Here are some installation instructions:

  1. Download the zip, and extract the AppleScript file to the /Users/your-user-name/Library/Scripts folder. If this folder doesn't exist, create it.
  2. The Finder does not have a "script" menu like iTunes does so I recommend turning on the system-wide "Script Menu." Navigate to /Applications/AppleScript/ and double-click the "Install Script Menu" Application. This will create a new "script" menu that shows in the menu bar (upper right near the clock). You can use this script menu drop-down to access the ToggleHiddenFiles AppleScript.
  3. Here's a link with more info on the system-wide Script Menu.
If you have any questions or something doesn't go right, just let me know. Enjoy.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Thanks, this is just what i needed as an ex-ubuntu user :)
# Posted By Ernesto | 5/13/08 8:32 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.