I haven’t really played much with Automator earlier on, but have found it to be very useful for doing small things that you would otherwise need to write a small shell script or program to do. Here is a screenshot of an Automator workflow which will add today’s date to the name of any file or folder. Very easy!
Here is how to create a USB drive for installing OSX.6 from a DMG file:
- Open Disk Utility
- Select your USB drive
- Select the “Restore” pane
- Choose your source DMG file
- Drag and drop your USB drive on the destination (I don’t understand why this isn’t already selected…). You should probably also select “Erase destination”
- From the “Images” menu, choose “Scan Image for Restore”. This will then check that your image is working. If you fail to do this, then you won’t be able to create the USB drive. It took me some time to figure out this step, but finally found the solution here.
- Finally, click “Restore” in the “Restore” pane
To organize files I have for a while been creating folder names that start with today’s date. I typically create a number of folders each day, and had grown tired of doing this manually. Then I came across a page describing the wonders of Automator, and decided to give it a try.
It all is very simple. I create a small automator script containing the following two elements:
Then I saved it as an application and told Quicksilver where to find it.
Then all I have to do this is to invoke Quicksilver, type ‘f’, hit enter, and my new folder is created on the desktop.
I just installed Adobe Reader on my new computer, only to discover that it hijacked the PDF preview window in TextMate when working on LaTeX documents. This also happened the last time I installed a new system, and I couldn’t remember what I did to change it back to using Preview as the default PDF viewer.
After googling around, I remembered that TextMate is just using the regular browser settings when it comes to displaying PDF files. For some weird reason, you have to go in the Adobe Reader preferences to change this back. Unfortunately, on my system the uncheck box for this functionality is grayed out:
Finally, I just decided to delete Adobe’s PDF viewer plugin altogether, by deleting this file:
This solved the problem, both in Textmate and in my browsers. If anyone wonders, Preview is much, much faster than Adobe Reader and I also think it displays the fonts nicer.
I thought I had written about this trick on my blog before, but couldn’t find it. So I try again:
How to invert the screen (systemwide) in OSX: ctrl-alt-cmd-8
This makes it possible to change between regular and inverted view. I find it particularly useful when sitting in a dark environment, since it makes the screen much less bright to look at. Screenshots below: