audiokiller,
I believe there are two methods available... one is available now (using variables or vars#) and the other which "should" be in the next release can have a popup to ask the user for input, either as a string (text) or a double (number)
The first method, if you have a look at pdf page 51 of the current manual (parametric programming) it explains variables and using vars#.
http://www.cncdrive.com/UCCNC/UCCNC_usersmanual.pdf
The way that I prefer is the message box popup (as I don't have to remember to store the vars in advance of me running the macro code.....)
The following is extracted out of the current development version of uccnc "macro_capability_detailed.htm file within the uccnc documentation folder.
Function: string TextQuestion(string Questiontext)
Description: This function shows a Question form waiting for a string as the answer. The text of the question shown on the Form is the parameter.
Example: string val = exec.TextQuestion("Stop code execution?");
Function: double Question(string Questiontext)
Description: This function shows a Question form waiting for a double value as the answer. The text of the question shown on the Form is the parameter.
Example: double val = exec.Question("What X position to move?");
If you are running the vars# method, you could put an if statement in the macro to check the current vars# saved is set or have a simple dialog box popup with a yes no question to ask if you've set the vars already (if you have a look at post # 25 in this thread you can see some code I posted which uses the yes/ no messagebox query and you can customise it as required).
Rob
Rob