Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for sav in ~/.openttd/save/Sundingham*
- do
- ~/svn.openttd.org/trunk/bin/openttd -g \"$sav\" &
- PID=$!
- #sleep 5
- #xdotool windowactivate `xdotool search --class "openttd"` &&
- # xdotool key ctrl+s &&
- # xdotool key ctrl+q &&
- # xdotool key Return
- while kill -0 $PID; do sleep 1; done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement