Thursday, January 6, 2011

Automater Un-Plug

Having failed terribly to automate the disc-switcha, I decided to waste more time in a doomed, nihilistic time-saving effort.

Goal:  Automate all the things I have to do every time I move the laptop.
So I want a one-double-click option to unmount my external harddrives (which requires shutting down iTunes), and shutdown Parallels Virtual Desktop (because it gets sad and confused when I close the laptop without warning it first).


Attempt 1: Automator Workflow (FAIL)
  • I guess I actually wanted an application.
Attempt 2: Automator Application
  • Open Automator (I use spotlight)
  • Do as such:

















  • Where "WD-Blackbook" and "Wallet" are the names of my external harddrives.  They have to be plugged in to find them in the "Get Specified Finder Items" tool thingy.
  • Remaining questions:
    • I have my Parallels Virtual Machines configured to "Suspend" when the application is closed (Configure -> "Startup and Shutdown" tab, "On Window Close" option).  I wonder if this is going to make everything stupid and angry.  I read that the Suspend mode just saves the state of the VM in a file somewhere (instead of losing that information or saving it in the RAM), but I wonder how big those files are, and how they deal with lots of them.
    • I guess it's still an issue if there's an application open in one of the VM's.  Maybe, maybe not.


No comments:

Post a Comment