INPUT_HOME "xbutton" <message-confirm>

Post Reply
oursomatic
Posts: 18
Joined: Mon Mar 09, 2020 2:19 pm

INPUT_HOME "xbutton" <message-confirm>

Post by oursomatic »

Hello,


i would like to understand how to <message-confirm> Are you sure?</message-confirm> for a ="xbutton"

The Xbutton seem to not react like button.
To boostrap it, have also try to add a press delay but without any better sucess.

-----------------------------------------
x-coordinates3.xml

</gitem>
<gitem type="xbutton" height="64" width="64" position="10;10" where="x-coordinates" action="direct-run:#10=0;M980;" image="work-zero-set-x" number="#INPUT_HOME_X" address="inputs" xattr="4;44;16;16;led;green;round"/>
--------------------------------------------
message exemple : confirm you want set G54 X0 ?

THK

ivan
Posts: 279
Joined: Tue Apr 16, 2019 5:30 pm
Location: Ottawa, Canada

Re: INPUT_HOME "xbutton" <message-confirm>

Post by ivan »

Hi there. The action to have a confirmation message pop up should be something like

Code: Select all

action="direct-run-confirm:M03"
instead of

Code: Select all

action="direct-run:M03"
Then, in addition to that, you can add the confirmation message. Let me know if that helps.

Post Reply