Code Monkey home page Code Monkey logo

alfred-vmcontrol's People

Contributors

asfork avatar fniephaus avatar kevinkwl avatar ricardgf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alfred-vmcontrol's Issues

PD 10 support please

Parallels Desktop will suspend virtual machines and quit no matter what action you choose to execute, e.g., Pause, Stop...

Text filter support request

vm will list the existing VMs, e.g., windows 7, windows XP, then you continue typing
vm 7 will only give windows 7, and if you continue typing
vm 7 suspend will only give suspend action?

Not detecting VMs on VirtualBox 5.2

Just upgraded to 5.2 and typing vm doesn't seem to detect any of my VMs. Anyone else having this issue?

Error in debug log:

[2017-10-31 10:16:53][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
  File "vm_list.py", line 11, in <module>
    vbox = mgr.vbox
AttributeError: 'VirtualBoxManager' object has no attribute 'vbox'

Not sure if this is an import error in python?

Issue with starting (Sierra + Parallels 11)

I get the following error when trying to start it:

Starting debug for 'VM Control'

[2017-04-30 19:04:53][ERROR: input.scriptfilter] Code 1: 19:04:53 workflow.py:843 ERROR    0x80070005 (The object functionality is limited)
Traceback (most recent call last):
  File "/Users/kitze/Google Drive/Alfred.alfredpreferences/workflows/user.workflow.19676D70-E556-4249-9C43-E81065EFB38C/workflow/workflow.py", line 841, in run
    func(self)
  File "vm_list.py", line 26, in complete
    vm_list = get_vm_list()
  File "vm_list.py", line 112, in get_vm_list
    m.name, m.id, get_vm_state(m.state), '/Applications/VirtualBox.app'))
  File "/Applications/VirtualBox.app/Contents/MacOS/sdk/bindings/xpcom/python/xpcom/client/__init__.py", line 374, in __getattr__
    return getattr(interface, attr)
  File "/Applications/VirtualBox.app/Contents/MacOS/sdk/bindings/xpcom/python/xpcom/client/__init__.py", line 460, in __getattr__
    return XPTC_InvokeByIndex(self._comobj_, method_index, args)
Exception: 0x80070005 (The object functionality is limited)

Btw thank you for your great work, love this workflow!

Not working on VirtualBox 5

I installed VirtualBox 5.1.6 and is not working on that version. I'm getting this message
captura de pantalla 2016-10-06 a la s 15 06 44

It would be great if you fix it!!

Have a nice day!

VBoxManage: command not found

I'm getting this error in the debug log when I try to start a VM:

VBoxManage: command not found

OSX 10.11
Virtualbox 5.0.10

Suspend/Unsuspend All VMs

Hello,

Thanks for the workflow, added the following to my version of it, could be useful to others. Original script from Ben Harper.
2018-03-29_14-39-59

Suspend script:
`/usr/local/bin/prlctl list -a --no-header --output name | while read line; do
VMName=$line
VMState=$(/usr/local/bin/prlctl list --no-header -a -o status "$VMName");

if [[ $VMState == running ]]
then
/usr/local/bin/prlctl pause "$VMName"
echo
fi
done`

Unsuspend script:
`/usr/local/bin/prlctl list -a --no-header --output name | while read line ; do # Pipe Parallels List of VM's to loop
VMName=$line # Get Name of VM
VMState=$(/usr/local/bin/prlctl list --no-header -a -o status "$VMName"); #Better Way - no piping text
echo
echo Found - $VMName, State = $VMState
echo

if [[ $VMState == paused ]] # If VM Paused
then
echo $VMName was running, pausing it
/usr/local/bin/prlctl resume "$VMName"
echo $VMName, State = $(/usr/local/bin/prlctl list --no-header -a -o status "$VMName");
echo
fi
done`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.