Sign in to follow this  
Followers 0
TheNewDeal

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

7 posts in this topic

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

Thanks in advance

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          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.

Share this post


Link to post
Share on other sites

How would you tell it where to click?

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:


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          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  
Followers 0