Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xdotool key ctrl+alt+Right && gnome-terminal -x virtualbox
- xdotool key ctrl+alt+d
- VBoxManage startvm "Windows 7"
- VBoxManage guestcontrol "Windows 7" execute --image "C:\\Program Files (x86)\\Microsoft Office\\Office14\\WINWORD.exe" --username "<username>" --password "<password>" --verbose --wait-exit --wait-stdout
- gnome-terminal -x xcowsay "Saving the machine state of this virtual machine. I'll take you back to normal Ubuntu very shortly..."
- VBoxManage controlvm "Windows 7" savestate
- xdotool key ctrl+alt+Left
- xcowsay "All done!"
- killall VirtualBox
- xdotool key ctrl+alt+d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement