klepp0906 Posted November 18, 2019 Share Posted November 18, 2019 same with launchbox. if i end the game with focus on another window, launchbox itself doesnt have focus after the shutdown screen. half way there. if we can get each of those to effectively grab lb/bb after the initial focus is changed back to the startup screen that would be splendid. Quote Link to comment Share on other sites More sharing options...
jayjay Posted November 19, 2019 Share Posted November 19, 2019 try this: if WinExist("LaunchBox Game Startup") { WinActivate WinWaitClose, LaunchBox Game Startup } if WinExist("LaunchBox") { WinActivate } if WinExist("LaunchBox Big Box") { WinActivate } ExitApp 1 Quote Link to comment Share on other sites More sharing options...
klepp0906 Posted November 19, 2019 Share Posted November 19, 2019 3 hours ago, jayjay said: try this: if WinExist("LaunchBox Game Startup") { WinActivate WinWaitClose, LaunchBox Game Startup } if WinExist("LaunchBox") { WinActivate } if WinExist("LaunchBox Big Box") { WinActivate } ExitApp that one seems to be the ticket. Sinceeeeeere thank you. Drove me nuts and I was always stuck operating with concessions in one area or another. Now i dont have to ❤️ 1 Quote Link to comment Share on other sites More sharing options...
jaydash Posted January 13, 2020 Share Posted January 13, 2020 Just wanted to chime in and thank you for this script... It appears to have fixed my rig's focus issues too! Had a focus issue with BigBox unresponsive/out of focus after launching PC games. Works like a charm now. THANKS!!! 1 Quote Link to comment Share on other sites More sharing options...
klepp0906 Posted April 5, 2020 Share Posted April 5, 2020 @jayjay question for ya bud. launchbox just moved the AHK folder from the root folder to a subfolder called "ThirdParty" curious if this is going to break the dll you provided? I imagine it points TO said folder to call the script, and with the location changing, I have to assume so? Quote Link to comment Share on other sites More sharing options...
jayjay Posted April 5, 2020 Share Posted April 5, 2020 @klepp0906 Hey dude. Yeah LB 10.12 will break it. Iv updated it here: Quote Link to comment Share on other sites More sharing options...
klepp0906 Posted April 5, 2020 Share Posted April 5, 2020 youre the best. This is literally fundamental to me huge thanks! 1 Quote Link to comment Share on other sites More sharing options...
Lf indy Posted January 15, 2023 Share Posted January 15, 2023 After updating BigBox I have the lost focus issue. I have to get a mouse, open my cabs back plate, unplug my BT dongle for my xbox controllers, plug in the mouse, & click it on every game exit. I had the issue years back & a post from a hero named @jayjay fixed it. He had a single .dll & a single .ahk in a zip file. From what I gather through my attempts is the Auto HotKey moved to the Third Party folder & broke his original fix. Ive tried mixing & matching al the scripts & downloads in this thread. I tried to edit his old .dll. It has became impossible to follow this thread if youre just coming in to the thread. Is there any way 1 of you wizards can make me a simple zip folder w/ the proper .dll & .ahk please? I will erase my current plugins & auto hotkey .ahks. All I need is for the mouse to click after exiting a game like I manualy do. I dont care if I get a cursor or not. I dont care about screen fickers. I dont care if I need to turn off or on startup screens. I Just need the mouse clicked to refocus BigBox. Im so frustrated Im going to drill a hole & buy a long usb male to female splitter or a bluetooth keyboard just for this. It loses focus after every game & renders a cab I spent 3 years on unusable. Thank you to anybody that solved this & may find it in your heart to help me. I certainly appreciate you guys for helping others & Im thankful for jayjay solving it a few years back. UPDATE - I will also say when i open the script via double click it brings BigBox to the front & its in focus. Therefore I think the script is correct. Its something in the .dll thats not activating or executing the script named RegainFocus. @jayjay @JoeViking245 @Kiinkyfoxx Quote Link to comment Share on other sites More sharing options...
Kiinkyfoxx Posted January 15, 2023 Share Posted January 15, 2023 @Lf indy Try putting LaunchScript.dll into Plugins folder - its the one I use that jayjay made before and works with LaunchBox Version 13 And then rename whatever script you use to OnGameExit.ahk and put that in the Third Party AutoHotKey folder The one I've uploaded below is the old RegainFocus.ahk with an extra Click put in it and renamed. I've taken all the mouse cursor stuff out of what I use Good luck, and I take no credit as this is stuff that other people have sorted and I've just uploaded LaunchScript.dll OnGameExit.ahk Quote Link to comment Share on other sites More sharing options...
Lf indy Posted January 15, 2023 Share Posted January 15, 2023 just tried ty. it is now getting focus on anything rocket launcher does. i manage a few things tht are newer emulators & pc games direct w/ launchbox. those are still losing focus. but ty! its progress Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.