• 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
Toggle invisible files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Toggle invisible files


  • Subject: Toggle invisible files
  • From: DaveC <email@hidden>
  • Date: Tue, 08 Nov 2016 23:17:52 -0800

This script worked in earlier versions of OSX but now doesn’t in Mavericks. 

The error returned is:

(current date & time) “defaults[637:d07]
The domain/default pair of (com.apple.Finder,AppleShowAllFiles) does not exist” 

What exactly is changed in the dictionary for Mav that breaks this? 

Thanks
Dave
as noob


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: Toggle invisible files
      • From: 2551phil <email@hidden>
    • Re: Toggle invisible files
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Sierra mail problem
  • Next by Date: Re: Toggle invisible files
  • Previous by thread: Re: Sierra mail problem
  • Next by thread: Re: Toggle invisible files
  • Index(es):
    • Date
    • Thread