Jump to content

Is There Any Way To Send A Left Click To A Window?


Recommended Posts

  • Developers

Is there anyway to send a leftclick to a certain window title?

Thanks in advance

You can sent a Leftclick to a control in a specific window with

ControlClick ( "title", "text", "classnameNN" [, button] [, clicks]] )

Or if your goal is to activate the window than you can do:

WinActivate ( "title" [, "text"] )

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Thanks man, you have been a very great help.

That stuff is from strait the help file... all i did was Cut&Paste....

I wonder... is there a hint somewhere hidden in the previous sentence ?? :whistle:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

What do you want to click on in the window ?

With AU3_Spy.exe you can figure out what the control names are...

Have a look at "Using Autoit" subject "AutoIt Window Spy"and the 2 subject below that for details on this subject...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...