I have command in Terminal that I would like to put into an AppleScript file. Is this possible?
More info:
I'm using the following code to show hidden files. I type this on the command line in Terminal to make it work:
defaults write com.apple.finder AppleShowAllFiles -bool true
killAll Finder
I would like to convert this into an AppleScript file so I can double click on it and it will run sortof like a batch file in Windows.
UPDATE:
If there is a better option to use than a AppleScript file I would need to know how to run it from the command line in addition to double-clicking it.