Incrementing a version number in a macro only takes a few lines of code (see the Script.bld sample), so there may not be much point in putting it into global script code.
Global script code can modify global, project, and temporary macros directly, and you could also pass in the name of the macro to a global script function when calling it. Yes, global script functions are edited on the Global tab of the Script Editor.
|