Here is a apple script I wrote to show and hide hidden files.

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


On Dec 18, 2009, at 9:37 AM, william lomas wrote:

>               hi all, how do i show hidden files and folders?
> thanks will
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected] 
> .
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en 
> .
>
>

louie
[email protected]



--

You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.


Reply via email to