Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to quickly show or hide hidden files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to quickly show or hide hidden files
Authored by: zweigand on Apr 10, '03 11:21:05AM

the script did work fine for me ...but i'm posting a revison that allows you to Cancel the script (so if you accidentally click the wrong script ...your finder doesn't restart)

display dialog "Set the visibility of hidden files...
" buttons {"Cancel", "Visible", "Invisible"} default button 1
tell application "Finder" to quit
set buttonpressed to the return of the result
if the buttonpressed is "Invisible" then
try
do shell script "defaults write com.apple.finder AppleShowAllFiles OFF"
end try
else if the buttonpressed is "Visible" then
try
do shell script "defaults write com.apple.finder AppleShowAllFiles ON"
end try
end if
tell application "Finder" to launch



[ Reply to This | # ]
An AppleScript to quickly show or hide hidden files
Authored by: arulprakash on May 22, '06 06:07:14AM

hi am a new MAC user can u pls let me know how do i go abt implementing the apple script u've typed in here



[ Reply to This | # ]