• 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: Phil Stokes <email@hidden>
  • Date: Thu, 10 Nov 2016 06:50:21 +0700


On 10 Nov 2016, at 01:43, DaveC <email@hidden> wrote:

Any suggestions? 


set _show to "defaults write com.apple.finder AppleShowAllFiles 1; killall Finder"
set _hide to "defaults write com.apple.finder AppleShowAllFiles 0; killall Finder"
set _readCurrent to "defaults read com.apple.finder AppleShowAllFiles"

set _state to do shell script _readCurrent
if _state does not contain "1" then
do shell script _show
else
do shell script _hide
end if


Best


Phil
 _______________________________________________
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: Shane Stanley <email@hidden>
References: 
 >Toggle invisible files (From: DaveC <email@hidden>)
 >Re: Toggle invisible files (From: 2551phil <email@hidden>)

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