Hello Guest it is July 15, 2024, 08:04:46 PM

Author Topic: How to get the last pressed button's oem code?  (Read 8412 times)

0 Members and 1 Guest are viewing this topic.

Offline sebba

*
  •  42 42
How to get the last pressed button's oem code?
« on: March 27, 2020, 07:02:46 AM »
Hello,

There is any way to get the last pressed button's code and place it into macro as variable?
For Mach3.

Thank you,
Seb

Offline TPS

*
  •  2,508 2,508
Re: How to get the last pressed button's oem code?
« Reply #1 on: March 27, 2020, 07:07:21 AM »
no, not realy, but you can set/reset OEMLed's in the button script and read those in an other script. you may also use an
OEMDro and set them in the button script.

f.e:
buttonscript off button1 set OEMDro to 1
buttonscript off button2 set OEMDro to 2

and the other script reads the OEMDro
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline sebba

*
  •  42 42
Re: How to get the last pressed button's oem code?
« Reply #2 on: March 27, 2020, 10:42:46 AM »
thanks for your reply
I thought there is some more "elegant" solution  :)

Re: How to get the last pressed button's oem code?
« Reply #3 on: April 09, 2020, 12:58:01 AM »
hi
i am new here
. can any body help me how to download mach3 vb script editor software

Offline sebba

*
  •  42 42
Re: How to get the last pressed button's oem code?
« Reply #4 on: April 09, 2020, 03:54:43 AM »
install Mach3 and run VB Script Editor from Operator menu