Yabause [Saturn]
Posted: Thu May 16, 2013 10:17 pm
I saw your script Admin but it works same way as without script, so i guess you made it only to change the exit key to Esc
i have made a script that hides that ugly Log Window and mouse cursor
so decided to post my version (posted here because there don't have access)
NOTE: didn't change exit key to Esc key because i don't need it
who need to change exit key to Esc can easily edit the script
i have made a script that hides that ugly Log Window and mouse cursor
so decided to post my version (posted here because there don't have access)
Code: Select all
#include <Misc.au3>
$app = "yabause.exe"
$app2 = "D:\mGalaxy\mGalaxy.exe"
$windows = "Qt Yabause v0.9.12 - A Beautiful And Under-rated Saturn Emulator"
$windows2 = "Select your iso/cue/bin file"
If $CmdLine[0] == 1 Then
Run( $app )
_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
WinWaitActive( $windows )
Send("^i")
WinWait( $windows2 )
Send( $cmdline[1] )
Send("{ENTER}")
WinActivate ( $app, $windows )
WinWaitActive( $windows )
Send("^l")
While ProcessExists( $app )
Sleep(500)
WEnd
ProcessWaitClose( $app )
WinActivate( $app2 )
Exit 0
EndIf
who need to change exit key to Esc can easily edit the script