Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: A Service to show/hide hidden files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: A Service to show/hide hidden files
Authored by: baltwo on Jul 20, '10 07:27:07PM

Alternatively, save this as an AppleScript application, place it on the Dock, and single-click to toggle. Better than using as a service and usable in Tiger and later.

if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is equal to "0" then
      do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
else
      do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
end if
do shell script "killall Finder"

Edited on Jul 20, '10 07:30:59PM by baltwo



[ Reply to This | # ]