Sign in to follow this  
Followers 0
bloC

I think that im too stupid -.-

11 posts in this topic

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

Share this post


Link to post
Share on other sites



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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

anyway....it doesnt work...

can someone give me an example?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

ah cool thanks, now it works :)

it's so easy :o

Share this post


Link to post
Share on other sites

Hey bloC :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Don't EVER call yourself Stupid. You just not YET have been enlightened! Keep learning!

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