Jump to content
LaunchBox Community Forums

snax087

Members
  • Posts

    2
  • Joined

  • Last visited

snax087's Achievements

1-Bit Wonder

1-Bit Wonder (1/7)

0

Reputation

  1. snax087

    Scripting noob

    Thanks for the reply. I’ll try that once I get home. I think the front end is retaining focus because in that short window of time where RA is starting up, the front end is still the active window until RA starts up and pressing a key in that time keeps the focus on the front end and disrupts the focus handoff to the RA window. It doesn’t do it with MAME at all, only RA. Do AHK scripts always require a key to execute them or can it be run on startup and stay running in the background without any input from the user? I guess it would be ideal if the script could be running from boot up to check every x seconds to see if RA is running and if it is to run the WinActive command on it to bring it to focus if it already isn’t. I have zero experience with this but I definitely want to try and learn to fix this.
  2. snax087

    Scripting noob

    Hey fellas, ive gotten a few answers here before when i first began my arcade emulation build and i have run into a problem and this seems to be a solid place to turn. My issue is not with launchbox/bigbox but another front end that i am using for a friend's arcade build that i did for him. When a game is launched through Retroarch, there is a brief moment in between the hand off from the frontend to the RA window where if any button is pressed it will cause the RA window to lose focus and not accept input until it is Alt+Tab'd back into focus. I have no experience with scripting so my question is, is it possible to have a script or program run in the background that looks for Retroarch.exe and ensure it is the focused window when it is launched or even periodically while it's running? I was looking at this thread here and it seems to be similar to what i need but i'm not 100% sure. Any help would be much appreciated as everything runs perfectly except for this small flaw. I would like to point out that I have tried to replicate this with MAME as well but it no matter how many buttons i push when it launches it doesnt lose focus like Retroarch ? Thanks
×
×
  • Create New...