Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

macro to run another macro

macro to run another macro

jsweatherbie
Advocate Advocate
653 Views
2 Replies
Message 1 of 3

macro to run another macro

jsweatherbie
Advocate
Advocate

string list options={"STANDARD","METRIC"} int i = INPUT CHOICE $options "What do you want?" string tpName = $options[$i] MACRO PAUSE "Choose a hole to TAP" + crlf + "Click RESUME to continue" + crlf + "To find pitch for standard its 1.00 / P [TPI]" switch $i { case 0 "i want a macro to run here" break case 1 "i want the other option to run here" }

 

trying to get macros to run after answering the question...

can you make it specify exactly where like " C:/pc/desktop/"

0 Likes
Accepted solutions (1)
654 Views
2 Replies
Replies (2)
Message 2 of 3

Sean570
Advocate
Advocate
Accepted solution

You just write MACRO and write the filepath after.

MACRO "C:\folderwithmacros\iAmAMacro.mac"

 You should really look at the macro programming guide since this is all in there.

0 Likes
Message 3 of 3

jsweatherbie
Advocate
Advocate
i seriously tried that and it didnt work the first time ...... or i didnt type it correctly
0 Likes