Skip to content

Instantly share code, notes, and snippets.

@estahn
Created December 16, 2010 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save estahn/743291 to your computer and use it in GitHub Desktop.
Save estahn/743291 to your computer and use it in GitHub Desktop.
Apple Script to start VMware Fusion lazy
set isRunning to do shell script "ps -ef | grep vmnet | grep -v grep | wc -l |sed 's/ //g'"
if isRunning is "0" then
do shell script "/Library/Application\\ Support/VMware\\ Fusion/boot.sh --start" with administrator privileges
end if
tell application "VMware Fusion" to activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment