My apologies if this is a question with a trivial answer. I've written a JMP add-in which contains an assortment of scripts, all of which are referenced by menu items (for example) "Program A", "Program B", "Program C" etc. I want to be able to run the script referenced by menu item "Program B" via a command contained within the script called by menu item "Program A". Can that be done?
Note that I don't want to call the script in question with an "include()" statement, because I don't know what the final version of the script called by menu item "Program B" might be (because I could be working on several versions of it, each with a different name, and might replace it at a later date). I just want to call whatever script is associated with the menu item - so I'm guessing that I'll probably have a line in my JSL script that looks something like "runprogram(com.mycompany.myaddin(Program B))". (Obviously this isn't right, but hopefully you can see what I'm trying to do.)
Many thanks