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

Re: Toggle invisible files


  • Subject: Re: Toggle invisible files
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 09 Nov 2016 21:55:16 +1100

On 9 Nov. 2016, at 6:17 pm, DaveC <email@hidden> wrote:

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

Try this:

set dotVisible to do shell script "defaults read com.apple.Finder AppleShowAllFiles"
if dotVisible as boolean then
do shell script "defaults write com.apple.Finder AppleShowAllFiles NO"
else
do shell script "defaults write com.apple.Finder AppleShowAllFiles YES"
end if
tell application "Finder" to quit


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
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: DaveC <email@hidden>
    • Re: Toggle invisible files
      • From: DaveC <email@hidden>
    • Re: Toggle invisible files
      • From: DaveC <email@hidden>
    • Re: Toggle invisible files
      • From: DaveC <email@hidden>
References: 
 >Toggle invisible files (From: DaveC <email@hidden>)

  • Prev by Date: Toggle invisible files
  • Next by Date: Re: Toggle invisible files
  • Previous by thread: Toggle invisible files
  • Next by thread: Re: Toggle invisible files
  • Index(es):
    • Date
    • Thread