Set Focus to another Window
#1
Question 
Hi,

I need some help 'cause I really don't know if this is possible:

I run XBMC at startup (Windows 7 Ultimate x86) and a second application that runs in background (normal window, not minimized or something else).

What I want to do is to create a new menu point in XBMC that sets the focus on the background window to bring it in front of XBMC.

I don't want to do that with a Windows batch. Is there a way to do this?
Maybe with a small python script?

I'm completely new with this so please be patient Nod


Thanks and greets
Tom
Reply
#2
http://kvance.livejournal.com/985732.html describes one method, though I don't know if the win32com library is included in XBMC's flavour of Python. Alternatively there is a win32gui library available, though I'm not sure how you'd install this. https://sourceforge.net/projects/pywin32/ possibly?

JR
Reply
#3
I will take a look at it.

Thank you!
Reply

Logout Mark Read Team Forum Stats Members Help
Set Focus to another Window0