Win XBMCLauncher / Launcher4Kodi - All in One Tool for Change Shell, Set Focus and more
(2015-01-17, 23:21)m.savazzi Wrote: Team,
I have an issue and do not know why.
XBMC Launcher It has been working for long and is great, I need it.

Now when I launch it I get this error:
Error 0x80041002
Line #014: objWMIService:=ComObjGet(

Continue running the script?

if I answer yes I get other errors.

The user XBMC runs on has never been an administrator but a normal user. I get the same error if I execute XBMC Launcher as Adminsitrator.

I' using W8.1 64bit

what's wrong?

M

That part of the code is used to get the OS version. You can download the script file from github and replace the following lines:

Code:
objWMIService := ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\" A_ComputerName "\root\cimv2")
For objOperatingSystem in objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
Global OSVersion :=     objOperatingSystem.Version

Remove the first two lines and specify Global OSVersion as 6.2 for Windows 8. Value 6.2 will work for Win 8.1 also. Compile to get the exe file and replace the original exe.

Code:
Global OSVersion = 6.2


(2015-01-18, 03:43)booyaa21 Wrote: Is there any way to make the Win-Alt-Enter key configurable in Kodilaunmher? I do use WMC for watching live TV (all my cable channels are encrypted so using Kodi/PVR is not an option) and Kodi for everything else. I also have a universal remote + FLIRC sending keyboard commands to control both programs. The problem is KodiLauncher has now hijacked the Win-Alt-Enter key, so Kodi steals focus every time I am watching TV and hit the Menu button.

Ideally I would like one key combination to stop playback on current program, and start or bring up WMC to the foreground, and another key combination do the same for Kodi, allowing me to seamlessly switch programs using the remote as though they were separate devices.

I have a rudimentary autohotkey script that sort of does this, but it is quite flaky, and stops working after 1-2 switches. I'm hoping Kodilauncher would be able to easily do this.

My setup is Windows 8.1, Kodi, Windows Media Center, Flirc

You can change the shortcut to something else in the script file. Mention your desired shortcut and I will suggest the changes to be made in the script.
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 - 2015-01-18, 07:06
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