Jump to content
Sign in to follow this  
Mycroft

Cannot Access File Dialog Controls

Recommended Posts

Mycroft

Hi All,

This is my first post, so excuse the newbie mistakes. First, the meta-info:

  • I am trying to automate an application called AVL-Drive, a 3rd party app built on top of MATLAB for analyzing car transmissions.
  • I have what appears to be a simple File Dialog as shown in Fig 1.

autoit_dialog.thumb.png.19da62e0aaaa3282ec3eab64c14e0bf7.png

Fig 1. File Dialog and AutoIT Window Info app.

The control at (1) is a ComboBox over an EditBox (evil programmers!) and the button at (2) is a standard button. I cannot get the Finder Tool to recognize the OK button. The textboxes for the Start/StopTime as well as the Template all are found by the Finder Tool (running in Spy++ mode). Mousing over the Files of Type ComboBox selects the whole grey area inside the dialog and returns [CLASS:#32770; INSTANCE:1], where #32770 is the class for the window.

When I do WinGetHandle("Open"), I get the handle to the dialog as expected.

All I want to do is:

  1. Select the first file name in the ListBox.
  2. Click OK.

However, the list control is a SysListView32 type, and it's not responding normally.

I will settle for being able to set the text on the File Name ComboBox and then clicking OK.

Yes, I've set the text on many other similar controls and clicked buttons with no problems.

Any help is GREATLY appreciated!

- Mycroft

 

Share this post


Link to post
Share on other sites
Earthshine

Use Inspect.exe to look for the ok button. 


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.