Jump to content

How To Push A Button?


ru812
 Share

Recommended Posts

ControlClick ( "titleOfWindowGoesHere", "", "Button1")

The Control___ functions are the weak point in the AutotIt documentation....

Instead of "Button1", you could use the text. For example, if the button says Exit you woud use "E&xit"

Hope that helps

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Thanks I had just figured that out :whistle: So when using WinWaitActive do i have to give the exact title? The app i am firing has a title that changes slightly when the version changes. ie: Application Coolness Ver1.(changes here)

Link to comment
Share on other sites

Look at the help file contents:

Using AutoIt | Window Titles and Text (Advanced)

You can set a mode to match exact title, partial title, title starts with, or title contains :whistle:

Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=...

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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...