This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
-- Read the current value of AppleShowAllFiles | |
set plistValue to do shell script "defaults read com.apple.finder AppleShowAllFiles" | |
set plistCommand to "defaults write com.apple.finder AppleShowAllFiles" | |
if plistValue is "false" then | |
set shellCommand to plistCommand & " true" | |
else | |
set shellCommand to plistCommand & " false" | |
end if |
NewerOlder