71
General Mach Discussion / Re: What is the proper way to make a button perform this code?
« on: July 01, 2015, 04:02:13 PM »
Actually i just got it to work by copying
If GetSelectedTool = 1 Then
Code "G53 G0 A0"
Code "G53 G0 A-5"
Code"G92 A0"
While IsMoving()
Wend
End If
If GetSelectedTool = 1 Then
Code "G53 G0 A0"
Code "G53 G0 A-5"
Code"G92 A0"
While IsMoving()
Wend
End If