Hi Rob,
thanks for that bit of code, more learning to do (Sendkeys).
ha ha, yes you got it exactly. I'm trying to create a very user friendly system where one button does lots of stuff for the user.
The Run From Here button is the easy bit, there's a button code for that. But the Initial Movement Prep box is manual and a user needs to know how to do it. There's no UCCNC function to operate it. After a flameout, I'm wanting to simply scroll to the gcode line I want to do a dry run from, the press the "magic" button that does all sorts of magic for you.
I'll be straight up, one day I'm hoping to sell my own table here in Australia and I want it to have great plasma functionality. Whether I get there is a different story. I was cutting stainless a couple of years ago and the torch cut height was a QUARTER of a mm. I got LOTS of flameouts due to a minute amount of slag buildup on the nozzle and the cut recover feature I'm developing now would have been fantastic.
Anyway I'll figure out how to extract those X and Y co-ordinates from the gcode line, it's just a matter of time
If there's one thing I am (which ain't clever), I'm stubborn and will keep on Googling until I figure it out. I get a long way with monkey see, monkey do LOL.
Keith.