I missed this in QS so here are 3 actions. Tested in Fusion 7.1.1, vmrun 
1.14.1.


To start a VM without gui.

*using terms from* *application* "Quıcĸsıɩⅴεʀ"

*on* *open files* theVMs

*repeat* *with* theVM *in* theVMs *as* *list*

*set* vmrun *to* "/Applications/VMware\\ Fusion.app/Contents/Library/vmrun"

*do shell script* vmrun & " -T fusion start " & (quoted form *of* POSIX path 
*of* theVM) & " nogui 1>/dev/null"

*end* *repeat*

*end* *open files*

*on* *get direct types*

*return* {"NSFilenamesPboardType", "NSStringPboardType"}

*end* *get direct types*

*end* *using terms from*


To power-off a VM

*using terms from* *application* "Quıcĸsıɩⅴεʀ"

*on* *open files* theVMs

*repeat* *with* theVM *in* theVMs *as* *list*

*set* vmrun *to* "/Applications/VMware\\ Fusion.app/Contents/Library/vmrun"

*do shell script* vmrun & " -T fusion stop " & (quoted form *of* POSIX path 
*of* theVM) & " hard"

*end* *repeat*

*end* *open files*

*on* *get direct types*

*return* {"NSFilenamesPboardType", "NSStringPboardType"}

*end* *get direct types*

*end* *using terms from*


To revert to last snapshot

*using terms from* *application* "Quıcĸsıɩⅴεʀ"

*on* *open files* theVMs

*repeat* *with* theVM *in* theVMs *as* *list*

*set* vmrun *to* "/Applications/VMware\\ Fusion.app/Contents/Library/vmrun"

*set* theVMQuotedPath *to* (quoted form *of* POSIX path *of* theVM)

*do shell script* vmrun & " -T fusion listSnapshots " & theVMQuotedPath & " 
2>/dev/null | tail -n 1 | sed -e \"s/.*/'&'/\" | xargs " & vmrun & " 
revertToSnapshot " & theVMQuotedPath

*end* *repeat*

*end* *open files*

*on* *get direct types*

*return* {"NSFilenamesPboardType", "NSStringPboardType"}

*end* *get direct types*

*end* *using terms from*

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.

Reply via email to