set buttonpressed to button returned of (display dialog "Show Hidden Files?" buttons {"Yes", "No"})
try
if the buttonpressed is "No" then do shell script "defaults write com.apple.finder AppleShowAllFiles OFF"
if the buttonpressed is "Yes" then do shell script "defaults write com.apple.finder AppleShowAllFiles ON"
do shell script "killall Finder"
end try
Does anyone know of a way to hide/unhide files without having to access the terminal?
Does anyone know of a way to hide/unhide files without having to access the terminal?
Is there a command to just hide individual files or folders?
I assume you are replying to my recommendation for Funter, since it is obvious Hide Folders hides individual items.
Funter is simply a switch which makes all invisible files visible or invisible.
Secret Folder is another like Hide Folder
One further question, i have moved a hidden file over from a different HDD, with a can make visible using the terminal commands etc, but how do I make this permanently visable and not in a 'hidden' state?
You can also password protect a folder using Disk Utility if you wish.
http://support.apple.com/kb/ht1578
http://www.wikihow.com/Password-Protect-Files-on-a-Mac