Re: Toggle invisible files
Re: Toggle invisible files
- Subject: Re: Toggle invisible files
- From: Shane Stanley <email@hidden>
- Date: Thu, 10 Nov 2016 15:13:57 +1100
On 10 Nov. 2016, at 2:57 pm, Shane Stanley <email@hidden> wrote:
My memory, by the look of it. So here's an alternative where it doesn't matter:
try do shell script "defaults read com.apple.Finder AppleShowAllFiles" do shell script "defaults delete com.apple.Finder AppleShowAllFiles" on error do shell script "defaults write com.apple.Finder AppleShowAllFiles 1" end try
It'll do the wrong thing the first time if you've set to 0, but should be good from then on.
|
_______________________________________________
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