I would like to have a clickable app that will open a terminal window, run the script:
defaults write com.apple.finder AppleShowAllFiles YES
and then close the terminal app. (and another to turn off the show all, same script with No at end). Automator seems to have a lot of potential, with not enough documentation that's easily found.
Best Answer
Umm...Welcome to Automator - Apple Support
This is also a great link
There is so many different ways of doing what you want.
Option A: Shell Script (Does in background)
Option B: Open Terminal Window
A
Option 1: Pure AppleScript (Using
/Applications/Utilities/Script Editor.app
)do shell script "defaults write com.apple.finder AppleShowAllFiles YES"
Option 2: Pure Automator
Option 3: Automator + AppleScript
B
Option 1: Pure AppleScript
Option 2: Automator + AppleScript
(A3 with the in B1)
For the toggle hears the AppleScript Code to be used in any option of your choosing:
Export Options
Script Editor:
File>Export
Automator:
Choose Application when creating a new document