Re: Toggle invisible files
Re: Toggle invisible files
- Subject: Re: Toggle invisible files
- From: DaveC <email@hidden>
- Date: Wed, 09 Nov 2016 11:43:36 -0800
> 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
Same error as before:
error "2016-11-09 10:45:33.754 defaults[648:d07]
The domain/default pair of (com.apple.Finder, AppleShowAllFiles) does not exist" number 1
Dave
_______________________________________________
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