Is there a better way of getting the current command option than from the command option gui?
Is there a celliew/window variable that has the current option and the other command options?
Example of part of the script:
("Stretch" unless(boundp('leStretchForm) hiDisplayForm(leStretchForm)) if(hiIsFormDisplayed(leStretchForm) hiiToggleEnterForm(leStretchForm)) theForm = leStretchForm currOpt = theForm~>keepWiresConnected~>value optList = theForm~>keepWiresConnected~>items unless(dirBool optList = reverse(optList)) optAssoc = buildOptList(optList) nOpt = cadr(assoc(currOpt optAssoc)) theForm~>keepWiresConnected~>value = nOpt printf("Set option %s\n" nOpt) hiChangeBannerLabel(win sprintf(nil "%s\n" nOpt) 0) )
I don't really know what you mean by the "current option and the other command options". What are you actually trying to do?
In reply to Andrew Beckett:
In reply to psill:
There's no such thing as a general list of options for each command. Each command will have encoded necessary options onto the options form, but how that has been done is specific to each command.