Jump to content
Sign in to follow this  
TheNewDeal

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

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

sorry i forgot about the search function in the help file :whistle: . I was unable to find it without the search. How would you tell it where to click?

Edited by TheNewDeal

Share this post


Link to post
Share on other sites

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...