Jump to content

ControlClick


Myillon
 Share

Recommended Posts

First off Hi, ive been using Autoit since Legacy (not sure when)

Quick introduction! Anyways on to my problem

I was trying to make a macro to send commands to a window while i had it underlying ie: not in focus

The other way i could have done this is

Mouseclick("Left",x,y)

but I didnt want the window to be in focus, I was wondering if it was possibile to get this effect by using the ControlFocus and ControlClick functions. If the ClassNameNN is not accurate (For example im trying to press a button, but Control ID under the button is blank)

Mabye there is a way to specify the x y to send the click at?

Or is this impossibile unless it has an ID?

Thanks!

Link to comment
Share on other sites

  • Developers

If the ClassNameNN is not accurate (For example im trying to press a button, but Control ID under the button is blank)

Mabye there is a way to specify the x y to send the click at?

Or is this impossibile unless it has an ID?

<{POST_SNAPBACK}>

AFAIK .... A control will have an ClassNameNN ...

If its a valid control then you can try to use the button text in stead of the ClassNameNN .

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