2016-11-09, 22:38
The only way I've ever done that is to add a favourite (or superfavourite) and run directly from that. I'm pretty sure RunScript isn't going to work.
By the way I've been messing with the default.py and have v2, as the original wasn't behaving consistently for me:
By the way I've been messing with the default.py and have v2, as the original wasn't behaving consistently for me:
Quote:#!/usr/bin/python
# -*- coding: utf-8 -*-
import xbmc, xbmcgui
xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Settings.SetSettingValue","id":1,"params":{"setting":"lookandfeel.skin","value":"skin.xonfluence"}}')
xbmc.executebuiltin('SendClick(11)')
xbmc.sleep(500)
xbmc.executebuiltin( "ActivateWindow(Programs,Addons,return)" )
dialog = xbmcgui.Dialog()
dialog.ok("Skin Changer", "SkIN SHOULD HAVE CHANGED")