colorpicker
#1
Is it possible to use colorpicker from settings to get the color? i.e.

<setting id="custom_color" type="action" label="color1" action="RunScript(script.skin.helper.service,action=colorpicker,,winproperty=XXX)"/>

it opens the colorpicker window, but how to get the result in settings? this can work only from skin, right?
Reply
#2
Still looking a answer? Can you explain more of what your trying to do. And yes it has to be added into the skin .xml
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#3
I'm trying to have color setting for addon. I can make user enter i.e. text - HEX code, but it would be uch more user friendly to allow color picker.
Reply
#4
O..Yeah I am just trying to learn Python .... I could help on the skin side it is easy. But I am sure you already know that... Could you do something like



PHP Code:
xbmc.executebuiltin("RunScript(script.skin.helper.colorpicker,skinstring=MyColor)"

then have your addon use it as a variable
PHP Code:
MyCustom        xbmc.getInfoLabel("Skin.String(MyColor)"
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply

Logout Mark Read Team Forum Stats Members Help
colorpicker0