Created
December 16, 2010 11:10
-
-
Save estahn/743291 to your computer and use it in GitHub Desktop.
Apple Script to start VMware Fusion lazy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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