Function/parameter to manually switch setting on/off ? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Function/parameter to manually switch setting on/off ? (/showthread.php?tid=180547) |
Function/parameter to manually switch setting on/off ? - AussieFries - 2013-12-16 I'm trying to map setting "Allow XBMC to receive AirPlay content" in keyboard.xml but it doesn't work: <k>Skin.ToggleSetting(services.airplay)</k> <k>ActivateWindow(services.airplay)</k> doesn't work either. Am I using the wrong commands? Could someone please advise how XBMC settings should be activated? Function/parameter to manually switch setting on/off ? - AussieFries - 2013-12-18 Anyone? RE: Function/parameter to manually switch setting on/off ? - Ned Scott - 2013-12-19 No idea, but I didn't think we had a way to map settings to key input? (which isn't to say we don't, since there's a lot I don't notice that goes into the latest builds) Function/parameter to manually switch setting on/off ? - AussieFries - 2013-12-20 Thanks Ned RE: Function/parameter to manually switch setting on/off ? - elusien - 2013-12-20 The following will bring up the "SERVICES" window for you: Code: <k>XBMC.ActivateWindow(10018)</k> I've tried the following to select the "AIRPLAY" menu, but it doesn't work - just brings up "SERVICES" as above. Code: <k>XBMC.ActivateWindowAndFocus(10018, 3,6)</k> Hope this helps. |