For Atomiswave "esc" exits normally when not in any FE's.
You could also try "Alt-f4".
using "esc" as an example, add\test this just before the run command or after the winwait commandin the Atomiswave.exe (save\re-compile)
g::
send, {esc}
or
g::
send, {laltdown}{f4}{laltup}
Yes) all this "剣非想天則 〜` 超弩級ギニョルの謎を追"
is active window crap, you may be able to sub it for the actual excutable name
None of the following have been tested, you may have to:
-edit each for the actual window names for each game. i.e.
@ the winwait, winactivate, winwaitactive, lines (in each script) make sure they have the proper window names.
(mouse over the game on the taskbar, when running if possible, to find out what they are)
-place all launchers in the games directory as the actual game executable i.e. "braid_launcher.exe" would go in the same directory as "braid.exe"
[Braid_Launcher.exe]- then make your batch file for braid, pointing to the launcher.
Run, %A_scriptdir%\braid.exe
WinWait, braid,
IfWinNotActive, braid, , WinActivate, braid,
WinWaitActive, braid,
;sleep, 500
;Send, {F4} ;fullscreen for some other executables, dont know what braid is
f::z
n::x
exitapp
[touhou double spoiler_launcher.exe]- then make your batch file for touhou double spoiler.exe, pointing to the launcher.
Run, %A_scriptdir%\touhou double spoiler.exe
WinWait, braid,
IfWinNotActive, touhou double spoiler.exe, , WinActivate, touhou double spoiler.exe,
WinWaitActive, touhou double spoiler.exe,
;sleep, 500
;Send, {F4} ;fullscreen for some other executables, dont know what touhou double spoiler.exe is.
f::z
n::x
exitapp
[plants vs zombies_launcher.exe]- then make your batch file for plants vs zombies, pointing to this launcher.
Run, %A_scriptdir%\plants vs zombies.exe
WinWait, braid,
IfWinNotActive, plants vs zombies, , WinActivate, plants vs zombies,
WinWaitActive, plants vs zombies,
;sleep, 500
;Send, {F4} ;fullscreen for some other executables, dont know what plants vs zombies is.
f::u
n::t
exitapp
for SF4 look in the HyperSpin forums there is already a launcher for it, but you could give this a shot.
[sf4_launcher.exe]- then make your batch file for sf4, pointing to this launcher.
Run, %A_scriptdir%\sf4.exe
WinWait, sf4,
IfWinNotActive, sf4, , WinActivate, sf4,
WinWaitActive, sf4,
sleep, 500
send, {enter}
;sleep, 500
;Send, {F4} ;fullscreen for some other executables, dont know what sf4 is
exitapp