Anybody know the answer to this? I have the same question. I'd love to suspend the VM from Coherence, especially using applescript (so I can do it from launchbar). Thanks!
You can choose "Quit Parallels Desktop" from Coherence menu on top right. The The message with option to suspend VM will show up. The other way is to hold Alt key and left click on Coherence menu icon. The extended menu will show and you'll be able to choose actions->suspend .
Dmitiy, thank you. that is perfect. NExt question: Any thoughts on how to do this with applescript? I use launchbar (www.obdev.at) and would like to use launchbar to quickly suspend without the mouse....any thoughts?
I recently came to know, that with Parallels Desktop and Server, you can use the command line utility "prlctl". I have recently created a shell extension for my Alfred like below #!/bin/sh /usr/bin/prlctl suspend "Windows XP" exit; to resume, just replace suspend with resume in above script. And then assign this extension to hotkey. So with simple global hotkey I can resume or suspend the VM. And also, can call the shell script from anywhere.
Thanks SnehalP! Perfect, thanks! I never would have figured that out....appreciated. The only thing I had to do was after saving it as a script (resume.command or suspend.command), I had a permissions problem so I ran this terminal: chmod +x suspend.command and then chmod +x resume.command And I had two scripts that suspended and resumed! Thanks. Also had to go into Terminal > Preferences, select the "shell" tab and choose from the pull down "when the shell exits" and I chose "Close if the shell exited cleanly" so the terminal window would close after the script completed.
Help! This is broken. The path has changed in the latest Parallels, /usr/bin/prlctl suspend "Windows 8.1" is now: /usr/local/bin/prlctl suspend "Windows 8.1" But I can't get the script to compile properly in applescript. So when I save it as a suspend.command, it doesn't run. I get errors like: "cannot execute binary file" Can somebody give me the exact procedure to run this terminal command, "/usr/local/bin/prlctl suspend "Windows 8.1" " via an applescript? Thanks. PS Forgive me, I am NOT well versed in applescript and clueless about "bash" and my terminal knowledge is good enough to run stuff in terminal that other people give me, so please don't assume I know what to do...step by step is appreciated!
Well this turned out to be pretty easy fix, even though I didn't get any responses. I was using applescript (BAD) instead of a simple text editor (good). Here's the whole procedure for those interested (clearly not many): 1. Open a simple text editor like "TextWrangler" 2. Create two files. The first save as "suspend.command" and the second "resume.command" Contents should be the following: Note you should change "Windows 8.1" to whatever your VM is named. #!/bin/sh /usr/local/bin/prlctl suspend "Windows 8.1" exit; In the second file, replace "suspend" with "resume" in the file and in the name when you save it. 3. Put those files in a good location in your ~/Library/Application Support/Launchbar or other scripts directory. 4. Open terminal and navigate to that directory 5. Run this command on each file: chmod +x suspend.command (the second time change "suspend.command" to "resume.command") 6. Terminal > Preferences, select the "shell" tab and choose from the pull down "when the shell exits" and I chose "Close if the shell exited cleanly" so the terminal window would close after the script completed.