31
Third party applications/tools / Re: UPDATE 0.5 RetroFE Setup Tool
« on: December 11, 2017, 03:33:33 AM »
Great job on this!!! I look forward to future updates.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Ohhh yes I don't know why I didn't think of using AHK. I made one recently to fullscreen Desmume:Code: [Select]#NoTrayIcon
#SingleInstance force
Loop
{
WinWaitActive, DeSmuME 0.9.12 git#1e96e73 x64-JIT SSE2
Send !{Enter}
WinWaitNotActive, DeSmuME 0.9.12 git#1e96e73 x64-JIT SSE2
{}
}
I think I could repurpose this for Citra, but there's no key combo that would make Citra fullscreen sadly. Do you know how I can replace the "Send !{Enter}" line so that it does the "Max" thing?
Thank you very much for the fast response also.
#Persistent
RunWait, C:\path\to\Citra\Citra.exe,, Max ;Obviously you want to put your own path here. The Max arg should start the window maximized.
ExitApp
#Persistent
/*
Info regarding ahk parameters
https://autohotkey.com/docs/Scripts.htm#cmd
*/
if 0 < 1 ;exit script if no parameters were passed
ExitApp
mameEXE := A_ScriptDir "\mame64.exe" ;path to mame64.exe
RunWait, %mameEXE% %1%,,, MAME_PID ;RunWait will wait until the program finishes before continuing
Exitapp
Joy9::
KeyWait, Joy9, T2 ;wait 2 seconds for release key
if (ErrorLevel) ;more than 2 sec have passed
Process, Close, %MAME_PID% ;close MAME using the Process ID we got from the RunWait command
return
executable = emulators\MAME\mame.exe
arguments = %ITEM_NAME% ; quotes aren't needed because there are no spaces in mame roms
#Persistent
mameEXE := A_ScriptDir "\mame64.exe" ;path to mame64.exe
RunWait, %mameEXE%,,, MAME_PID ;RunWait will wait until the program finishes before continuing
Exitapp
Joy9::
KeyWait, Joy9, T2 ;wait 2 seconds for release key
if (ErrorLevel) ;more than 2 sec have passed
Process, Close, %MAME_PID% ;close MAME using the Process ID we got from the RunWait command
return
executable = emulators\MAME\mame64.bat
arguments = "%ITEM_FILEPATH%"
executable = emulators\MAME\mame64.bat
arguments = "%ITEM_NAME%"
RunWait, mame64.exe %1%
Run, mame64.exe %1%
executable = emulators\MAME\mame.exe <-- Compiled ahk script
arguments = "%ITEM_NAME%"