2015-09-11, 09:43
(2015-09-11, 09:32)marcelveldt Wrote:No can't see it being set in there.(2015-09-11, 03:06)jurialmunkey Wrote: I'm not sure if I'm doing something wrong? It doesn't seem to be working (on Isengard if that matters). Here's my button in skinshortcuts:
Code:<control type="button" id="9701" description="Select Color">
<width>100%</width>
<label>Select color</label>
<onclick>RunScript(script.skin.helper.service,action=colorpicker,shortcutproperty=tilecolor)</onclick>
<include>Defs_OptionButton</include>
</control>
I put <label>$INFO[ListItem.Property(tilecolor)]</label> in a label control to test and it doesn't seem to be set.
Your code is just fine. Actually your log even indicates it has set the property.
If you open script-skinshortcuts-includes.xml after it has been built, can you see the property been added ?