Jump to content
Sign in to follow this  
TheNewDeal

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

Recommended Posts

TheNewDeal

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
Jos

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                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jos

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                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
TheNewDeal

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
Jos

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                                How to post scriptsource        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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.