Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this is the name of the window when you use virtual desktop emulation
- windowId=`xdotool search --name "Default - Wine desktop"`
- #to find the correct window name, run Fallout New Vegas and use this commented command below to browse the list for it!
- #list=(`xdotool search --name ".*"`);for id in ${list[@]}; do xdotool getwindowname $id; done |sort -u
- #time enough to main menu be accessible after game is started, your system may require more time, adjust it properly
- sleep 30
- echo '(SayText "auto-load")' |festival --pipe #audio feedback
- # this will select the top menu item "continue", hit enter, select "yes" and hit enter!
- for((i=0;i<10;i++));do
- xdotool key --delay 250 --window $windowId Up Up Up Return
- done
- echo '(SayText "END auto-load")' |festival --pipe #audio feedback
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement