error attempting AppleShowAllFiles
error attempting AppleShowAllFiles
- Subject: error attempting AppleShowAllFiles
- From: DaveC <email@hidden>
- Date: Thu, 20 Oct 2011 16:19:28 -0700
This script worked under Snow Leopard. Now when run under Lion it
gives this error:
error "2011-10-20 15:30:29.887 defaults[4263:f07]
The domain/default pair of (com.apple.Finder, AppleShowAllFiles)
does not exist" number 1
I'm not sure how to interpret the error.
I did not write the script so cannot answer questions re. "why did you...?".
Suggestions?
Thanks,
Dave
(AS status: beginner)
- - -
set dotVisible to do shell script "defaults read com.apple.Finder
AppleShowAllFiles"
if dotVisible = "0" then
do shell script "defaults write com.apple.Finder AppleShowAllFiles 1"
else
do shell script "defaults write com.apple.Finder AppleShowAllFiles 0"
end if
tell application "Finder" to quit
delay 1
tell application "Finder" to activate
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden