Archive for July 21st, 2010

Applescript to show and hide hidden files in finder

Apple; some would argue are leading innovators of user experience. Why the fuck isn’t there an easy way to show and hide hidden files in finder?

Here’s an applescript to do that.

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”

ShowHidden.scpt