Hi Marcel, back on the constant stuffs
After many attempts, there's 2 things I miss to complete the "user setup" experience.
First one is there's no infolabels for constants (erm yeah, it's constants
![Wink Wink](https://forum.kodi.tv/images/smilies/wink.png)
...). So the idea is to be able to read the value now they can be set.
An optional window prop writting using the same name and containing the value can do the trick IMO.
Also, I would like to copy constants to constants in bulk mode. The idea is to build a constants model :
Model.SizeX
Model.SizeY
Model.PosX
Model.PosX
And spread then at user request to the corresponding KODI section (ex for video section) :
Code:
RunScript(script.skin.helper.service,action=copyskinconstant,id=Model.SizeX,target=Video.SizeX)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Model.SizeY,target=Video.SizeY)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Model.PosX,target=Video.PosX)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Model.PosY,target=Video.PosY)
Same reverse (with window prop option) :
Code:
RunScript(script.skin.helper.service,action=copyskinconstant,id=Video.SizeX,target=Model.SizeX,setproperty=true)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Video.SizeY,target=Model.SizeY,setproperty=true)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Video.PosX,target=Model.PosX,setproperty=true)
RunScript(script.skin.helper.service,action=copyskinconstant,id=Video.PosY,target=Model.PosY,setproperty=true)
Or maybe something using a single runscript command with DialogBusy or Progress so ending can do the Reloadskin() at the end.
Do you think you can do something for those ?
Many thanks.