# M1 macOS window/focus chaos (opening = P1's proven menu path)
launch
wait 9000
shot p1_boot
key Return
wait 3000
shot p1_fileselect
key Return
wait 2500
shot p1_modeselect
key Return
wait 2500
shot p1_missionselect
key Return
wait 2500
shot p1_after_dam
key Return
wait 3000
shot p1_after_difficulty
key Return
wait 9000
shot m1_level
hold W 1500
move 400 0 20 10
cmdtab
wait 3000
focus
wait 1000
shot m1_after_cmdtab
hold W 800
cmdtab
wait 500
cmdtab
wait 1500
focus
minimize
wait 3000
restore
wait 1500
shot m1_after_restore
click left
wait 300
maximize
wait 4000
shot m1_fullscreen
hold A 800
move -300 50 20 10
key F10
wait 1500
shot m1_f10_fullscreen
key Escape
wait 800
combo Cmd+LCtrl+F
wait 2500
shot m1_fullscreen_exited
wait 1500
key Escape
wait 1500
shot m1_after_escape
resize 800 600
wait 1500
shot m1_resized
key Escape
wait 1500
key Return
wait 1500
shot m1_paused_or_menu
combo Cmd+Q
expectexit 25
