Jump to content

Recommended Posts

Posted

Hey there,

i wanted to do a controlclick with coodinates....but im not able to this :)

ControlClick("[CLASS:Classname]", "", "[iD:IDNumber]", "", "", "57" , "95")

what is wrong?

greetings

bloC

Posted

ControlClick("[CLASS:Classname]", "", "[iD:IDNumber]", "", "", "57" , "95")

@bloC

"[iD:IDNumber]" is a number, you can get it with au3info.exe (Program Files\AutoIt3\au3info.exe)

Cheers, FireFox.

Posted

I agree with your statement.

How about you make them actual numbers. "57" to 57.

Cheers,

Brett

i don't think it mathers wether you use quotes or not..(in most functions it makes no difference)

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Posted

ControlClick ("title", "text", controlID [, button [, clicks [, x [, y ]]]] )

To get the Classname use for example "[CLASSNN:Edit1]".

For ID you can use "[iD:254]" or simply 254 (without quotes).

This should be more correct:

ControlClick ("", "", controlID , "left" , 1 , 57 , 95)

Where it says controlID you can have for example "[CLASSNN:Edit1]", if you want to use more than one property write

[CLASSNN:Edit1; TEXT:Hello; ID:254] and so on.

Posted

Didn't want to start another thread for control clicks, so I'll just post here.

my code:

ControlClick("[CLASS:#32770]", "", "[CLASSNN:SysTreeView321; ID:1439]", "", "", "31", "201")

And nothing is happening. I position my mouse at those coordinates and click and it works, but the automation does not.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...