Since a couple people have been asking about pause recently, here's some scripts that pause or unpause all running virtual machines that Fusion knows about, as well as how I made them.
- Unpack the automator scripts into /Library/Automator . Note: While you could also use /Users/${USER}/Library/Automator (and which I would personally prefer, as I don't like to stick things in the systemwide library), I need to do this in order to avoid having my username hardcoded into the resulting script. If you're following along at home, the one in your home directory is fine.
- Open Automator, choose new Custom workflow.
- Drag "List Running Virtual Machines" from the left list of actions to the right list of commands - it should be the only command there.
- Drag "Virtual Machine Power Actions" from the left list of actions to the right list of commands - it should come after the "List Running Virtual Machines" step
- Change the power action to pause.
- Save as "Pause Running Virtual Machines", file format Application.
Now repeat, but with the power action set to unpause, call it "Unpause Running Virtual Machines".
Things to note: there must be at least one running virtual machine, or the script will error out. You probably need exactly version 0.2008.09.02 for this to work (I see it's coded into the resulting application). Should I make an update, I'll include these sample apps as well. There's no feedback in Fusion that a virtual machine is paused - menu items will still be enabled even though they won't work, and so on.
You can get fancier, like changing the input in order to only pause or unpause a specific virtual machine.