Created
March 16, 2014 05:06
-
-
Save philgruneich/9578798 to your computer and use it in GitHub Desktop.
Show/Hide invisible files in Finder. Add to ~/Library/Application Support/Launchbar/Scripts to launch from Launchbar.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set stateMent to do shell script "defaults read com.apple.finder AppleShowAllFiles" | |
if stateMent = "TRUE" then | |
do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE" | |
else | |
do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE" | |
end if | |
tell application "Finder" to quit | |
delay 2 | |
launch application "Finder" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment