Hello there, I don’t if this has been asked before, but I am wondering if it’s possible to run variable as command. What I mean by that is run javascript, make it return a variable that as a command name, then run command from that variable.
Here is a very simple macro of what I want to do:
Why? I feel like running javascript if way faster than running command after command, with this I could loop through the script and return different command each time and since I like very simple coding, it will leave with about 2-3 line of command .
Just thinking out loud. Can a macro write another macro, save it, then execute it? The sort of thing one commonly does, for example, with PL/SQL? This would achieve the goal, even if it would require a lot more work.