Return to Snippet

Revision: 28006
at June 29, 2010 07:03 by TechNick


Initial Code
Open this Scriplet in your Editor:

display alert "Would you like to show or hide the hidden files?" buttons {"Hide", "Show"} default button "Hide" as warning
if button returned of result is "Hide" then
   
   do shell script "defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder"
else
   
   do shell script "defaults write com.apple.finder AppleShowAllFiles -bool true ; killall Finder"
end if

Initial URL
http://macscripter.net/viewtopic.php?id=33377

Initial Description


Initial Title
MacScripter / Show Hidden Files

Initial Tags


Initial Language
AppleScript