The application is entirely coded using autohotkey scripts. Source code can be downloaded from the same folder. You will need latest version of Autohotkey_L for compiling .ahk files, Inno Setup Creator to create setup file and Notepad++ for editing . XML files. For editing .ahk scripts, Notepad++ can be used. But I prefer SciTE4AutoHotkey Script Editor.
GUI programming is done in VB.NET 2010.

Special Thanks to elitegamer360 whose GSB script, keymap file and MCERemote registry codes are used in this installation with slight modification to suite my needs.

my first tries work well but xbmconimon doesnt find imon. i tried to launch the launcher with eventmanager and admin rights but doesnt help.
and could you explain what the components in setup do? i only want to use launcher as shell because i dont have an mce remote and have to start xbmconimon with eventmanager (maybe x64 related) and imon manager itself. i didnt install your shutdown menu because i use an other skin but can you change your launcher that on exit it will launch explorer.exe?

cheers Nimo

edit: ok, its not xbmconimon problem. but booth tools are loaded and i see the standard xoi message but it says it cant connect to imon.
edit 2: after wake from s3 my vfd stay clear (black)

XBMC Advanced settings file - Installs an advanced settings file for xbmc. I use it to skip the movies by 10 seconds instead of the default 30 seconds when you press left or right arrow keys. Also it will treat multiple artists in songs using the separator /. This is the default separator used in media monkey.

XBMC Keymap file - Creates a custom keymap file for xbmc to be used with MCE remote controls.

Change XBMC Shutdown Menu - Changes shutdown menu as shown in the image in first post. I need only these three menus. The shutdoen button can be configured to Sleep or Hibernate also.

Set XBMCLauncher as Windows Shell - Changes the windows shell to xbmc launcher instead of Explorer.exe. This way your system will boot directly into XBMC without loading windows desktop thus speeding up the boot processing considerably. On exiting xbmc, you can start explorer.

Select this option if you want MCE remotes to work with the included keymap file. Restart your PC for the change to effect.

Click finish to run XBMCLauncher. If everything is fine, it should start xbmc.

The application expects that you have installed xbmc in the default 32 bit Windows Program Files Directory which is usually C:\Program Files\XBMC for 32 bit and C:\Program Files (86)\XBMC for 64 bit. If XBMC is not found in the default location which the app will prompt you to select the xbmc.exe file. Once selected, it will start XBMC.

Menu accessible from Windows System Tray.

Change Focus Delay. Default is 10 seconds which means every 10 seconds XBMCLauncher will send a signal to focus or bring xbmc on top of all other windows.

XBMC Shutdown action. This menu is visible only of you select the custom shutdown file. Choose the action you want when you press the 'Shutdown' button in XBMC. I am using Hibernate and my htpc resumes to XBMC home window within 10 seconds from power down state.

You can change Windows Shell from the application without reinstalling xbmclauncher. If XBMCLauncher is set as the shell, then windows desktop is not loaded until you exit xbmc.

(2012-07-25 11:12)Nimo Wrote: [ -> ]my first tries work well but xbmconimon doesnt find imon. i tried to launch the launcher with eventmanager and admin rights but doesnt help.
and could you explain what the components in setup do? i only want to use launcher as shell because i dont have an mce remote and have to start xbmconimon with eventmanager (maybe x64 related) and imon manager itself. i didnt install your shutdown menu because i use an other skin but can you change your launcher that on exit it will launch explorer.exe?

cheers Nimo

edit: ok, its not xbmconimon problem. but booth tools are loaded and i see the standard xoi message but it says it cant connect to imon.
edit 2: after wake from s3 my vfd stay clear (black)

For iMON and xbmconimon to work, Windows explorer is needed. If you set xmc as shell, imon won't work.

For iMON, the software expects the location to C:\Program Files\SoundGraph\iMON\ or C:\Program Files(86)\SoundGraph\iMON\
For xbmconimon I use C:\Program Files\xbmc-on-imon-v0.1.9.5\ or C:\Program Files (86)\xbmc-on-imon-v0.1.9.5\
If any other location is used, you will need to manually specify the path from tray icon menu.

You can edit the skin DialogButtonMenu.xml to insert a simple code to start windows desktop.

In confluence skin, it is under C:\Program Files\XBMC\addons\skin.confluence\720p

Open the file DialogButtonMenu.xml and add the line <onclick>XBMC.RunScript(C:\program files\XBMC\StartWindows.py)</onclick> just above the <onclick>XBMC.Quit()</onclick> under the Exit button code as follows:

Or you can edit the XBMCLauncher.ahk file in the source code to start explorer when xbmc is exited by adding the code in a loop.

Process, Exist, xbmc.exe ; check to see if xbmc.exe is running
If (ErrorLevel = 0) ; If it is not running
{
Process, Exist, explorer.exe ; check to see if explorer.exe is running
If (ErrorLevel = 0) ;if explorer is not running
{
run explorer.exe
}
}

wow fast answer. i havent time to test ATM
maybe later. i will use standard shell so i dont need to edit my menu but i could if i want add an eventghost key with explorer.exe
so i will install with only "XBMCLauncher" in setup and check the paths. the everything should work and im happy.

so configuration done, works very well. i just installed xbmlauncher without any mods, set path to xbmconimon and restarted. BAM it works. sleep and wake without any problems. my cec-usb also work.
really nice work. ive used before focusbitch but sometimes after wake up i see the taskbar but xbmc is in focus. with your tool xbmc is the only one on screen

I have problems now and again when coming out of sleep as video is jerky. I have used task manager in windows and Hibernate Trigger and seem to work for awhile but start acting up

So will this app fix that

Q1 can you close xbmc down before it goes into standby and then when you wake the pc up can it load it. The problem with the other fixes like this is that they don't close xbmc down when you go into standby when u come out of standby it shuts xbmc down then loads it back up. so wanted to know if it shuts it down first before it goes into standby

Q2 can u set this up so that if you turn the computer on from cold it boots into windows loads windows desktop up then loads xbmc automatically and keep focus as I can do this all the way up to the point that xbmc minimizes when u have xbmc setup n the startup menu.

Quote:Q1 can you close xbmc down before it goes into standby and then when you wake the pc up can it load it. The problem with the other fixes like this is that they don't close xbmc down when you go into standby when u come out of standby it shuts xbmc down then loads it back up. so wanted to know if it shuts it down first before it goes into standby

Yes. It will close xbmc when you send your pc to sleep or hibernate by using the hardware shutdown button also. xbmc is started again when windows is resumed. Just install the main application XBMCLauncher only, if you don't want other features.

Quote:Q2 can u set this up so that if you turn the computer on from cold it boots into windows loads windows desktop up then loads xbmc automatically and keep focus as I can do this all the way up to the point that xbmc minimizes when u have xbmc setup n the startup menu.

1. can you permanently disable lose focus ?
2. can you have focus only run once or check once

its i am not to sure what would happen to xbmc if it keeps checking for the focus as strange things can happen to xbmc.

3. does this just run in the background on the windows desktop ? does not change anything.

xbmc only losses focus once for me if i put it in the startup as its somthing to do with my ati ccc. but if i boot windows and then run xbmc by clicking on it with the mouse it does not lose focus.

i now use standby but like i say after awhile video starts to judder and i have tried task manager and apps to shut xbmc down and then load it up but seem to prolong it but comes back.

i am just trying different things to try and stop the problem.

I just hope the new xbmc 12 will fix it but i dought it as this might be a windows thing. maybe xbmc can build your app into xbmc 12 if it works, or hopfully xbmc can stop xbmc from lossing focus in windows when not using window mode.

cheers

will give it a try but wating for the video to start jerking again before tests and this might take a few weeks to try out you program but will keep you infromed

1. Not in this version. You can disable it temporarily for a session. When pc is restarted or resumed from sleep, it will again try to keep xbmc on focus.
2. No. you can change the focus delay to a higher value from the default 5 second. Or edit the script in source code file.
3. It runs in the background like any other autohotkey scripts as it has no GUI interface. It is minimized to the system tray on startup.

Just give this app a try. If you don't like it then you can always uninstall it without causing any change to your system.

If you know how to edit autohotkey scripts then try the source code and change as per your requirements.

(2012-07-27 11:40)LordMerlin Wrote: [ -> ]We would like also to the following: Selection of downloadable programs in the mode of the shell, except for those that are loaded by default.

I didn't get what you meant by' downloadable programs in the mode of the shell'. Do you want to add an option so that you can select another application as shell instead of Explorer and XBMCLauncher?. At present only Explorer and XBMCLauncher are the shell options. I can add that option to select other exe files and set it as shell. But remember XBMCLauncher can't be started if you set any other application as shell. For now you can select any program instead of xbmc to start it automatically.

I am thinking of another version where xbmc is not given focus while using external players like TMT5 or PowerDVD. Also please suggest if you want any new feature to be added.