Hi all, I had a need to show and hide dot files. I got tired of having to bring up terminal every time I need to deal with hidden files so I created the below apple script.
tell application "Finder" activate try set showHidden to do shell script "defaults read com.apple.finder AppleShowAllFiles" as string if showHidden is "OFF" then say "Showing dot files" do shell script "defaults write com.apple.finder AppleShowAllFiles ON" do shell script "killall Finder" else say "Hiding dot files" do shell script "defaults write com.apple.finder AppleShowAllFiles OFF" do shell script "killall Finder" end if end try end tell louie louiem...@wavecable.com -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to macvisionar...@googlegroups.com. To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=.