Step dist. macro

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Step dist. macro

Postby mhafele » Mon Jun 15, 2020 2:37 pm

Trying to write a macro to default the jog Step dist. to .0001. Should be pretty simple but I get a script error when it runs. This is my first attempt at a macro.

AS3jog.Setfeild(.0001, 2027);
AS3jog.Validatefield(2027);

Any idea what the error is?
mhafele
 
Posts: 14
Joined: Tue Oct 01, 2019 5:57 pm

Re: Step dist. macro

Postby ger21 » Mon Jun 15, 2020 2:47 pm

Setfield, not setfeild.
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1832
Joined: Sat Sep 03, 2016 2:17 am

Re: Step dist. macro

Postby mhafele » Mon Jun 15, 2020 2:55 pm

damn, I looked at that for an hour and didn't see that, thanks for the quick reply.
mhafele
 
Posts: 14
Joined: Tue Oct 01, 2019 5:57 pm


Return to Macros

Who is online

Users browsing this forum: No registered users and 1 guest