On my MacBook I use the GPG Suite in order to keep my sensitive data secure, including data which I upload to the cloud. Encrypting files is something I do frequently, so I put together a small automator folder action to automatically encrypt files dropped into a specific folder.
For this to work, you’ll need the GPG Suite installed, with a private key setup. You’ll also need to adjust the ‘–recipient’ option in the bash code listed below.
Once the file has been encrypted it deletes the unencrypted copy, so be sure to keep your key safe.
I don’t like waiting around for long processes to finish on my Mac, so I was recently hunting for a way of sending push notifications to my iPhone/iPad.. I gave up after a while, realising that nothing seemed reliable enough.. So then I changed tact, and that’s when I came up with this AppleScript. This uses OS X’s built in message’s app to send an iMessage to my mobile!
tell application "Messages"
set intid to get id of first service
set myRecipient to myRecipient "+44123456789" of service id intid
send "Your full machine backup has now completed" to myRecipient
tell application "Messages"
This could quite easily be built into Automator Workflows etc.
defaults write com.apple.finder AppleShowAllFiles NO
(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
Using nothing but OS X Lion’s built in ‘Automater’ you can create your very own desktop based ‘Web App’ for Google’s Latitude service (or any other URL for that matter)
The process is really simple, and only required 2 ‘Automater Methods’
Launch Apple’s Automator application, from the applications folder
Chose Application from the document type menu
Add the ‘Get Specified URLs’ action from the actions list
Add the address “https://www.google.co.uk/latitude/b/0/” (or any of your choosing) to the ‘Specified URLs’ action
Add the ‘Website Popup’ action from the actions list
Specify the screen size and user agent you prefer – you may be best adjusting these settings and running the Automator script a few times to see which works best.
Once you are happy with your settings, and URL specified then you can save this as an Application, now when you want to launch the new desktop web app all you have to do is double click on your new Automator Application!