According to the example the last arg (/Users/wayne/images/stack1
) will be available as a string within the macro and can be access via a call to the getArgument()
function.
-macro analyze /Users/wayne/images/stack1
For completion output, try just using the print()
function. I think this will get output to the console that you running the macro from.
print("My macro is finished!");