EVENT : SetFocusBackToXLobby

Got an idea, post it here

EVENT : SetFocusBackToXLobby

Postby P3rv3rt B3ar on Mon Apr 24, 2006 2:02 pm

subject tells it all...
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby tomprout on Mon Apr 24, 2006 2:04 pm

+1 :wink:
tomprout
 
Posts: 51
Joined: Wed Mar 15, 2006 9:20 am

Postby BaddaBing on Mon Apr 24, 2006 4:52 pm

Until this gets implemented here is a work-around. A small executable called 'sendfocus.exe'. It takes a class name or window name as an arguement and sets focus to that window.

If you are losing focus on xlobby after launching it you can create an event string that waits 'x' number of seconds then sets focus back to xlobby in the STARTUP event.
The startup event is executed when xlobby first fires up.

If sending a command to a third party app causes xlobby to lose focus then just follow that command with a 'sendfocus' to set focus back to xlobby.

You can download sendfocus here: http://www.xlobby.com/files/badabing/files/sendfocus.zip

Here is an example of how to implement it under setup/events:

Image
Last edited by BaddaBing on Mon Apr 24, 2006 8:19 pm, edited 1 time in total.
BaddaBing
 
Posts: 557
Joined: Fri Mar 26, 2004 2:39 pm
Location: DFW Texas

Postby P3rv3rt B3ar on Mon Apr 24, 2006 6:44 pm

Cool hack... thanx a lot man
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby tomprout on Tue Apr 25, 2006 7:23 am

Thanks !!
tomprout
 
Posts: 51
Joined: Wed Mar 15, 2006 9:20 am