I hate building window interfaces in Mel. Anyway, I have a new script that I can use just fine because I know how to use the command line to call my procedure and all that. It works in x y or z depending on what parameter I pass it. Naturrally, I want to create a simple window interface with radio buttons that let the user decide if it is going to go in x y or z. Then when the user hits apply or ok, it will run the procedure.
So naturally I figured that radioButtonGrp would be the way to go. I can create my radioButtonGrp just fine, but I can't find anything that demonstrates how you actually query the group. There is the -q flag, but I can't get that to actually work.
Naturally I would need to be able to pass the results of that query into my already written method that does the work based on that result.
I feel like I can do almost anything I ever need in Mel without a catch, unless it is the window stuff. I have never liked that. Anybody who would be kind enough to answer this question would be my friend forever.
Ideally it would be a dummy procedure that creates and displays a window. The window would have a radioButtonGrp with x y and z radio buttons an, ok, and a cancel button. Ok's command passes the value the user selected in the radio button group to a procedure. Cancel just closes the window.
thanks for reading
Danny