SHARE
TWEET

see / hide invisible files

applehelpwriter May 11th, 2013 120 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --see / hide invisible files save this as an .app and put in your dock for 1-click convenience!
  2. --courtesy of JB/baltwo(ASC) Thx! :)
  3.  
  4.  
  5. try
  6.         do shell script "defaults read com.apple.finder AppleShowAllFiles"
  7. on error
  8.         do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
  9. end try
  10. if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is equal to "0" then
  11.         do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
  12. else
  13.         do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
  14. end if
  15. do shell script "killall Finder"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top