set h to button returned of (display dialog "Make Finder show all files" buttons {"Yes", "nope, default"} default button {"YES"}) as text
if h = "Yes" then
do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
else
do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"
end if
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
CAPTCHA: eight − = 5
Notify me of followup comments via e-mail
Subscribe without commenting E-Mail:
Unsichtbare Dateien im Finder zeigen
set h to button returned of (display dialog "Make Finder show all files" buttons {"Yes", "nope, default"} default button {"YES"}) as text
if h = "Yes" then
do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
else
do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"
end if