Win XBMCLauncher / Launcher4Kodi - All in One Tool for Change Shell, Set Focus and more
(2014-07-03, 09:51)Jkruger Wrote: Great program,

Is there a way to show a custom background (or even better turn the screen off) when I shut down xbmc into XBMCLauncher shell? As it is now I have the machine to sleep after x minutes when idle (for making sure no background tasks is running), it is only showing a black screen when XBMC have exit but you can still see that it is on.

(2014-07-03, 23:20)Jkruger Wrote: Thnks baijuxavior,

Now the obvious question if you are a nob like me, witch script file do I need to change? And is there a setting in the script that is easy to change or do I have to come up with something somewhere, I guess it involves compiling etc, have nooo idea what I am doing. Sorry,

If you select the option start explorer when xbmc is closed, it will display the desktop. This is the code you need to edit. Download the source code from the github link in the first page and open the file XBMCLauncher.ahk in notepad. To turn off the display, replace the lines from 1666 to 1675

Code:
Process, Exist, xbmc.exe ; check if xbmc.exe is running
            If (ErrorLevel = 0) ;if not running
                {    Process, Exist, explorer.exe ; check if explorer.exe is running
                    If (ErrorLevel = 0)
                        Run,  %A_WinDir%\Explorer.exe, %A_WinDir%
                        
                    Process, Exist, explorer.exe ; if explorer.exe is not started in previous step
                    If (ErrorLevel = 0)
                        Run Explorer.exe
                }


with


Code:
Process, Exist, xbmc.exe ; check if xbmc.exe is running
            If (ErrorLevel = 0) ;if not running
                {    Sleep 1000
                     SendMessage 0x112, 0xF170, 2,,Program Manager
                }

Save the file and rightclick and compile to get the exe file, assuming you have installed autohotkey. Replace the exe file in your program folders with the newly compiled one.
Reply


Messages In This Thread
green start button remapping - by Cassiel - 2013-02-12, 21:44
RE: XBMC Launcher - by Govnah - 2013-02-16, 06:32
RE: XBMCLauncher - by MBulli - 2013-02-17, 12:20
RE: XBMCLauncher - All in One Tool for Change Shell, Set Focus and more - by baijuxavior - 2014-07-04, 03:12
Launcher4Kodi - by baijuxavior - 2015-02-17, 15:27
lack of focus - by runey71 - 2015-02-18, 07:53
black screen problem - by -CraZed- - 2015-03-18, 06:36
RE: XBMCLauncher / Launcher4Kodi - by TB4875 - 2015-03-25, 11:49
RE: XBMCLauncher / Launcher4Kodi - by kmarq - 2015-05-19, 14:41
Error - by liamp - 2015-05-31, 23:03
RE: XBMCLauncher / Launcher4Kodi - by gitman - 2015-06-07, 21:40
RE: XBMCLauncher / Launcher4Kodi - by RockerC - 2015-06-16, 16:28
RE: Using Tweak UAC - by berkhornet - 2015-07-13, 19:04
RE: - by alsergo - 2015-11-25, 00:11
W10 and netflix - by Cassiuss - 2016-01-10, 15:50
netflix - by Cassiuss - 2016-01-11, 09:11
netflix - by Cassiuss - 2016-01-11, 11:12
netflix - by Cassiuss - 2016-01-11, 13:04
netflix - by Cassiuss - 2016-01-11, 11:44
Reverse shell to explorer - by shayosef - 2016-01-17, 14:24
Launcher4Kodi improvement - by kalhimeo - 2016-01-27, 20:20
resume during recording kodi - by eddedrukker - 2016-04-03, 08:58
RE: XBMCLauncher / Launcher4Kodi - by leezy88 - 2017-02-06, 09:41
Might be of use to someone... - by Grumpy - 2017-09-19, 04:18
Logout Mark Read Team Forum Stats Members Help
XBMCLauncher / Launcher4Kodi - All in One Tool for Change Shell, Set Focus and more20