2015-09-24, 14:15
Have the 404 button hidden somewhere offscreen, then have two separate buttons for each of the properties you want to set, then in each:-
<onclick>SetProperty(chooseProperty,[property you want to set])</onclick>
<onclick>SendClick(404)</onclick>
Edit:- Y'know, I think it can and should be simpler than that. I've added an additional attribute to the <propertySettings /> called buttonID - set it to the ID of the button you'd like to use to set the custom property and the script will then manage any click to that button itself, no need to start setting window properties or sending clicks to 404. See updated docs on the branch for details.
<onclick>SetProperty(chooseProperty,[property you want to set])</onclick>
<onclick>SendClick(404)</onclick>
Edit:- Y'know, I think it can and should be simpler than that. I've added an additional attribute to the <propertySettings /> called buttonID - set it to the ID of the button you'd like to use to set the custom property and the script will then manage any click to that button itself, no need to start setting window properties or sending clicks to 404. See updated docs on the branch for details.