Archives for February 2012

File and Folder Automator Action Pack Updated to 4.0.1

The File and Folder Automator Action Pack, which includes 21 actions for interacting with files and folders in the Finder, has been updated to version 4.0.1. Changes include:

  • Fixed a bug in Filter Finder Items by Size action
  • Fixed a bug in Unlock Finder Items action

The new version is available in the Mac App Store.

AppleScripts for Marking Messages as Read in Mac Mail

At the request of MacSparky, I've put together a few AppleScripts for Mac Mail users, to mark messages as read...

Script 1: Mail • Mark All Inbox Messages Read

tell application "Mail"
     set read status of every message of inbox to true
end tell

Script 2: Mail • Mark All Messages Read

display alert "Please note!" message "This script may take a while if you have a ton of mailboxes. Do you want to continue?" buttons {"Cancel", "Yes"} cancel button "Cancel"

with timeout of  600 seconds
     tell application "Mail"
          set read status of every message of inbox where its read status = false to true
          set read status of every message of every ¬
               mailbox where its read status = false to true
          set read status of every message of every mailbox ¬
               of every account where its read status = false to true
     end tell
end timeout

Script 3: Mail • Mark Selected Mailbox Messages Read

display alert "Please note!" message "This script may take a while if you have a lot of mailboxes selected. Do you want to continue?" buttons {"Cancel", "Yes"} cancel button "Cancel"

set processSubMailboxes to (button returned of (display alert "Would you like to scan all submailboxes too?" message "Again, if you have a lot of selected mailboxes and submailboxes, this may take a while." buttons {"Yes", "No"})) = "Yes"

tell application "Mail"
     tell front message viewer
          set theSelectedMailboxes to selected mailboxes
          repeat with a from 1 to length of theSelectedMailboxes
               set theCurrentMailbox to item a of theSelectedMailboxes
               processMailbox(theCurrentMailbox, processSubMailboxes) of me
          end repeat
     end tell
end tell

on processMailbox(theMailbox, processSubMailboxes)
     tell application "Mail"
          if processSubMailboxes = true then
               set theSubMailboxes to every mailbox of theMailbox
               repeat with a from 1 to length of theSubMailboxes
                    set theCurrentSubMailbox to item a of theSubMailboxes
                    processMailbox(theCurrentSubMailbox, processSubMailboxes) of me
               end repeat
          end if
          set read status of every message of theMailbox to true
     end tell
end processMailbox


You can download these scripts here.

You can quickly and easily run them from the system-wide AppleScript menu.  This menu is not enabled by default.  To enable it and install the scripts...

  1. Launch AppleScript Editor in /Applications/Utilities
  2. Select AppleScript Editor > Preferences from the menu bar
  3. Under General, click the Show Script Menu in the Menu Bar checkbox
  4. Bring Mail to the front
  5. From the script menu, choose Open Scripts Folder > Open Mail Scripts Folder
  6. Copy the scripts into the folder.  They will now be available from the script menu when you're working in Mail



What not to do in Mac Mail

Here's a handy data loss prevention tip.  With a Mail message selected, do not press either of the secret undocumented keyboard shortcuts Option+Control+H or  Command+Option+Control+H.  That is, unless you want your selected message irretrievably deleted.  Not moved to the trash.  Deleted.  Permanently.

Tested in Mac OS X 10.7.3. Bug report filed.

Note: If you're backing your Mac up with Time Machine, as you should be, then you may be able to restore the vaporized message.

10 Mac OS X Productivity Tips for Open and Save Dialogs

They're open and save dialogs. You navigate to a file or folder. You select it.  You enter a file name when saving.  You click Open or Save.  How much more efficient can you get? Well, here are 10 things most Mac users probably don't know...

Tip 1: Drag and drop a file or a folder right from the Finder into the open or save dialog to quickly select it.  If you do this in a save dialog with a file, then the file's name is automatically entered as the save name.

Tip 2: With a folder or file selected in the dialog, press Command+R to bring the Finder to the front and reveal the item.

Tip 3: To manually navigate to a folder, press Command+Shift+G (or / or ~).  Enter the desired path.  As you type it in, you can press tab to auto-complete folder names.

Tip 4: To see hidden files and folders, press Command+Shift+Period (>).

Tip 5: To quickly navigate to:

  • The Desktop - Press Command+D
  • The Documents Folder - Press Command+Shift+O
  • The Downloads Folder - Press Command+Shift+L
  • The Applications Folder- Press Command+Shift+A
  • The Home Folder - Press Command+Shift+H

Hint: The other navigation keyboard shortcuts in the Finder's Go menu should work here too.

Tip 6: To create a new folder, press Command+Shift+N.

Tip 7: To navigate up one level, press Command+Shift+Up Arrow Key

Tip 8: To choose an image, audio track, or movie, click Media in the sidebar.

Tip 9: To move a file or folder displayed in an open or save dialog to another folder, open the target folder in the Finder.  Then, drag the item from the open or save dialog into the opened folder window in the Finder.

Tip 10: With a file or folder selected, press Command+I to bring the Finder to the front and display the Get Info window for the item.

So, there you have it. Small tips that will save you a few precious seconds here and there and make you more productive.  Every second counts, right?

Macworld | iWorld 2012 Favorite Find: olloclip

More and more, my iPhone is becoming my camera of choice.  It takes great photos, and I always have it with me.  This year, at Macworld | iWorld, I was excited to stumble upon the olloclip.  It's a 3-in-1 lens that fits snuggly over your existing iPhone lens.  Included lenses are fisheye, wide-angle, and macro.  I have to say, I love this lens, and highly recommend it for anyone who wants to do more with iPhone photography.  It'll set you back about $70, but it's such a great little accessory, to me, it's well worth the price.

For anyone considering it, here are some observations…

  • The olloclip is tiny.  It will easily fit in your pocket.
  • It only works with the main iPhone camera (the one on the back of the phone), not the one that faces you.
  • You access the macro lens by unscrewing the wide-angle lens.  To use the macro lens, you need to get in very close, within about 1/2".
  • The fisheye lens has an extensive range, so you'll need to grip your iPhone more on the sides if you want to prevent your fingers from being visible along the edges of the photos.
  • The olloclip is a tight squeeze.  You'll have to remove your phone from its case to use it.  And, if you have a screen protector, it may push it out of the way if you aren't careful.
  •  The olloclip is designed for the iPhone 4/4S.  If Apple releases a new form factor iPhone 5, you'll probably need to purchase a new olloclip, assuming they release an updated version.
  • The olloclip comes with a small microfiber bag, which doubles as a lens cleaner.

In short, I concur with Stephen Hackett's Three-Word Review of the olloclip… Buy it now!


olloclip Gallery: