• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
error attempting AppleShowAllFiles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: error attempting AppleShowAllFiles
      • From: Ron Hunsinger <email@hidden>
  • Prev by Date: Re: (no subject)That
  • Next by Date: Tex-Edit Plus Lion Compatible Out of Beta
  • Previous by thread: iCloud Calendars
  • Next by thread: Re: error attempting AppleShowAllFiles
  • Index(es):
    • Date
    • Thread