Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --see / hide invisible files save this as an .app and put in your dock for 1-click convenience!
- --courtesy of JB/baltwo(ASC) Thx! :)
- try
- do shell script "defaults read com.apple.finder AppleShowAllFiles"
- on error
- do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
- end try
- 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"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement