This blog posts is one of the several guest blog posts to MikeSel.info. Posted by one of my readers Thomas Hazlett, Thomas has converted the terminal commands in my earlier post Show hidden files in OS X 10.7 or 10.8
- Launch -> /Aplications/Automator
- Select what type of workflow you would like. I feel a service is a good choice for this so go ahead and;
- Select -> Service
- At the top of the window there should be 2 combo-boxes.
- Select -> no input
- Select -> Finder.app
- Drag -> Run shell script; from the left panel to the right and enter the following:
is_shown=$(defaults read com.apple.finder AppleShowAllFiles) if [ $is_shown != "YES" ] then defaults write com.apple.finder AppleShowAllFiles YES else defaults write com.apple.finder AppleShowAllFiles NO fi
(You may have to retype the quotes around the “YES” in the if statement).
8. Below that Drag -> Ask for confirmation and enter a message to the effect of “Do you want to relaunch finder? This will cancel any file transfers etc.”Under that,
9. Drag -> Run shell script and enter killall Finder
10. Save it, naming it whatever you want it to appear as under the services submenu of the Finder menu.
11. With Finder in the foreground, click Finder in the top left -> down to Services and click your newly created Service.
Thomas Hazlett is from and still lives in Belfast, N. Ireland. He is currently studying with the Open University towards his BSc in Computing and IT however has decided to take a year out to work on his own projects; start a blog; and spend more time doing home renovations. You can find more about him at www.hazlett.info
Last updated byat .