Jump to content

Recommended Posts

Hi guys,


this workflow lets you control your Parallels Desktop and VirtualBox virtual machines.

I've tested it with Parallels Desktop 9 for Mac and VirtualBox 4, but older versions might work as well.




Github: https://github.com/fniephaus/alfred-vmcontrol

Download-Link: https://github.com/fniephaus/alfred-vmcontrol/releases/latest

Edited by fniephaus
Link to post

Sorry still doesn't work. It lists all my VMs and their status but when you highlight one and press enter, nothing happens. 


*EDIT* sorry ignore me my bad. Tried it again and it does work OK. Although if you use the quick selection i.e. cmd-2 to select VM 2 in the list, nothing happens. You have to highlight the VM and press TAB for it to list the various options available.


Hope that makes sense. 

Edited by gr4z
Link to post

gr4z, can you explain this a bit more?

If the VM is running, Parallels is running. When do you close it?

Maybe provide a screencast?

I have changed the AppleScript in the last version, so it only activates Parallels when the command was either "start" or "resume"...





*EDIT*: I've just updated the workflow, could you try again please?

Edited by fniephaus
Link to post

Thanks for trying. This is a great workflow.


I have tried it again and it still does it. Let me try and explain:


1) Parallels is NOT running

2) Use the workflow to resume a suspended VM

3) Parallels starts and the VM resumes

4) Use the workflow to suspend the VM

5) The VM is suspended and is removed from the Dock

6) The Parallels application reappears in the dock


Can you make it if there are no other VMs running when you suspend or shutdown a VM the Parallels application is permanetly closed?



Edited by gr4z
Link to post

Now I got it!

Parallels doesn't close automatically if no machines are running anymore, but VirtualBox does.

So, this was just normal behavior.


Anyway, I've found a way to achieve this and updated the workflow once more!  :)

Edited by fniephaus
Link to post

Hi gr4z,

I believe the shutdown behavior and the startup view are things you can configure here:




I might remove the 'close Parallels if no other machine is running' feature, because this can also be done by configuring the VMs.


Hope this helps!




Link to post
  • 1 year later...
  • 2 weeks later...
  • 3 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...