Mach Discussion > Mach Screens

How do I use an OEM code with VB?

(1/1)

Tarak:
I've got a button that runs g code
e.g
CODE "G90 G00 X10.0"

Before the code runs I would like it to close any open G code program (just in case).
I noticed on the CLOSE G CODE BUTTON the OEM code is 169.
How do I use this OEM with VB?
Thanks.

Chaoticone:
Not sure at all but think it is (Do Button #XX). Look at the ref all home button with the Vb script editor, that might help.

Brett

poppabear:
Use:

DoButton(169), in a button or other script

Navigation

[0] Message Index

Go to full version