Jump to content

ControlClick


 Share

Recommended Posts

I have an Microsoft Access form with 10 buttons that need to be clicked in order.

When the code called by button 1 finishes, I need to click button 2 etc.

I can get the automation to work by using coordinates and mouse clicks, but there has got to be a better way.

ControlClick seems to be ideal, but I cannot get it to work. I can't get the unique Control ID for each button.

All the buttons seem to have the same INSTANCE.

Thank you in advance for your help.

Link to comment
Share on other sites

Hello Devinder,

First, Welcome to the AutoIt Forums ;)

This is an application called 'Au3Info.exe' that had come with your AutoIt Download, and is found in the AutoIt Program Folder. This application is a great tool for finding window tiles, text along with hidden text, and ultimately control names.

Realm

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. 

Link to comment
Share on other sites

Those are not Windows API controls, the form is rendered by MS Access. There may be a DOM you can use with it (like for the IE DOM).

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...