Hi, No need of apologising
If you want an example you can check the macro (Create an NmrPipe tab file…) here at line 99 is where I define the args, and line(s) 343/344 is when they get inserted in the globals. Then you can run it as it was a normal script with %run -i macro.py -argument value
hope it helps