Great product, by the way. Just thought I'd say that. Now the fun part, right?, here's my problem ...
I'm trying to automate some setup tasks in UPS Worldship (Windows GUI ... mostly pretty standard). The UI is combersome in different places but one of the bigger problems I have is reading from and selecting combo boxes.
I've tried the ctrl-c and ctrl-v trick with a loop to read through and select but unfortunately it doesn't recognize the content of the combo box. Even though it appears to show as highlighted in the box, a ctrl-c retrieves nothing. I can use the arrow keys to move up and down.
I'm stuck. Any ideas?
Can't read from combo box
Moderators: Dorian (MJT support), JRL
Hi,
GetControlText will probably do it. You will need to determine the class name which you can do using the View System Windows tool in the Tools menu.
Failing that a couple of Win32 API function calls may do the trick using LibFunc. But see how you get on with GetControlText first.
GetControlText will probably do it. You will need to determine the class name which you can do using the View System Windows tool in the Tools menu.
Failing that a couple of Win32 API function calls may do the trick using LibFunc. But see how you get on with GetControlText first.
MJT Net Support
[email protected]
[email protected]