2018-02-03, 09:12
(2018-02-02, 20:27)bedgear Wrote: I can edit the includes.xml, but im still not sure how to make one button run two commands.Yes try the second one. But you have to know when do you want to use the second action -- when you use a custom button, default or always. if you want always you can try a simple onclick command without condition.
Should i put them both within one tag - ie:
<onclick condition="!Skin.HasSetting(UseCustomActionButton#)">CommandOne, CommandTwo</onclick>
Or
Use two onclick tags - ie:
<onclick condition="!Skin.HasSetting(UseCustomActionButton#)">CommandOne</onclick>
<onclick condition="!Skin.HasSetting(UseCustomActionButton#)">CommandTwo</onclick>
The second one seems to make more sense in a way, but i figured i would ask to be sure.