2017-03-03, 08:06
EDIT2: Different question then Is there any way to open the context menu by clicking a button?
EDIT: nevermind, somehow I managed to miss the part about buttonID (wiki)....
So I'm trying to have a button in the contextmenu let the use set a custom property. I can't get it to work however, what am I missing? The context menu button is showing, but nothing seems to be executed
I have a button 404 as mentioned here: https://github.com/BigNoid/script.skinsh...perties.md
EDIT: nevermind, somehow I managed to miss the part about buttonID (wiki)....
So I'm trying to have a button in the contextmenu let the use set a custom property. I can't get it to work however, what am I missing? The context menu button is showing, but nothing seems to be executed
Code:
<item control="313">context menu button</item>
Code:
<control type="button" id="313">
<label>actual button</label>
<onclick>SetProperty(chooseProperty,homeSymbol)</onclick>
<onclick>SendClick(404)</onclick>
</control>
I have a button 404 as mentioned here: https://github.com/BigNoid/script.skinsh...perties.md