Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

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.

Posted

try this:

if WinExist("LaunchBox Game Startup")
{
	WinActivate
	WinWaitClose, LaunchBox Game Startup
}

if WinExist("LaunchBox")
{
	WinActivate
}

if WinExist("LaunchBox Big Box")
{
	WinActivate
}

ExitApp

 

  • Thanks 1
Posted
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 ❤️

  • Like 1
  • 1 month later...
Posted

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!!!

  • Like 1
  • 2 months later...
Posted

@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?

  • 2 years later...
Posted

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

Posted

@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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...