Why doesn't this work...?
OpenPanel is an script device with an alpha property of Panel Name. The Panel Name property is set by a list control which does work in setting the Panel Name property to the name of a viable panel.
I tried the message box routine and the script is getting the correct panel name. There are no error messages in the logs either. I have found another way of doing what i need using a task but i still don't know why this script doesn't work.
I figured this out. When the Panel Name property gets set, there is an carriage return appended to the end of the string. If i use a string function to remove the carriage return, it works!