is there a way to get all running vm's via vboxapi? With
Code: Select all
mgr = VirtualBoxManager(None, None)
vbox = mgr.vbox
vboxVMList=mgr.getArray(vbox, 'machines')
vboxNameList = [mach.name for mach in vboxVMList]
It should do the same like "vboxmanage list runningvms", but with vboxapi...
Thanks!
stielchen