Posts: 1,836
Joined: Jan 2012
Reputation:
48
Did you test 'Focus external player' option? What is your focus delay? Have you enabled 'Ceck focus only once'?
Posts: 32
Joined: Mar 2014
Reputation:
0
2014-03-07, 14:31
(This post was last modified: 2014-03-07, 14:34 by panchon.)
My options are:
*'Focus external player' = true
*focus delay = default(0)
*Ceck focus only once = false
*Disable focus permanently = false
There are any option incorrect?
Could be problem of the playercorefactory?
Posts: 1,836
Joined: Jan 2012
Reputation:
48
focus delay 0 means no focus. Set it to say 10 seconds.
Posts: 664
Joined: Nov 2008
Reputation:
5
2014-03-08, 11:55
(This post was last modified: 2014-03-08, 13:13 by Swifty.)
I've actually noticed a problem with focus on my system too, I have the focus delay set to 10 already but when I use the green button on my remote to start XBMC, it opens behind metro start and never gets focus.
This is on Windows 8.1, is this a supported feature for this OS ?
-Edit-
So it seems XBMCLauncher IS focusing XBMC, but it doesn't appear to be able to focus it on top of Metro start..
Once XBMC is launched, I tried clicking the 'desktop' link in metro, from here I could see XBMC with the Windows taskbar sat on top of it, after a few seconds XBMC took full focus.. (here is where I assume XBMCLauncher did it's stuff)
Posts: 1,836
Joined: Jan 2012
Reputation:
48
I think it is a problem with metro ui. You can modify the source code to send Ctrl+Esc (to toggle the start screen) when you press green button.
Posts: 1,836
Joined: Jan 2012
Reputation:
48
Ca you post the relevant portion of the code?
Posts: 1,836
Joined: Jan 2012
Reputation:
48
I compiled your code and it runs without any problem. Copy the compiled exe file to C:\Program Files\XBMCLauncher, replacing the existing exe file.
Is this the code for detecting metro ui?
#IfWinActive ahk_class ImmersiveLauncher
#!Enter::
WinClose
Posts: 1,836
Joined: Jan 2012
Reputation:
48
Start XBMCLauncher GUI or the context menu and check the settings:
1. Shell > should be XBMCLauncher
2. Startup Settings > StartXBMC when Windows starts
3. XBMC Path > Select the correct path
Run XBMCLauncher as admin if it doesn't work.