Sign in to follow this  
Followers 0
Bower

ControlClick With picture!

8 posts in this topic

#1 ·  Posted (edited)

I want this to click a text box in a window but for some reason its not working ... I want to be able to do it without it pulling that window up.

ControlClick ( "    Login   ", "", 460018, 692, 398)
Edited by Bower

Share this post


Link to post
Share on other sites



Using only the info you provided (which isnt enough tbh) it could be the following:

1) The window title is wrong (use Opt("WinTitleMatchMode", 2) )

2) the coords are wrong ^^

3) Thats some crazy control ID?

Use the Autoit Window info tool to find the name of the "text" you want to click.


Click here for the best AutoIt help possible.Currently Working on: Autoit RAT

Share this post


Link to post
Share on other sites

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

Is what the helpfile says. And how do I figure out the ID of the box with the window thing? It doesn't put a little black box around the text box only the window itself, which is the 460018. I had

ControlClick ( "title", "", controlID [, [, [, x [, y ]]]] )

Gave me some errors then I put

ControlClick ( "title", "", controlID , x , y)

Which gave me no errors but doesnt work x.x lol if that helps a little more with helping me! heh (That was just examples so you could see it right) And the Title of the window is correct, coords are right too.

Share this post


Link to post
Share on other sites

Posted Image

The code I have is

ControlClick ( "    L o g i n   ", "", 460018, 692, 398)

Share this post


Link to post
Share on other sites

ok..... tell me is your 'CRAAL' From always open in same window or in same place ?

or it's open in various place is it dynamic or static ?

if it is always opens dynamic then you can grab the window by title function and make to center.

if it is always opens static then you can use

ControlClick ( "title", "", controlID [, [, [, x [, y ]]]] )

Share this post


Link to post
Share on other sites

Graal will be open and the title is always the same.

Always in the same position also.

Ive tried that code you sent and it doesnt work =x

Share this post


Link to post
Share on other sites

I got ControlSend to work but not ControlClick x.x I have been working on it this hole day. I need help!

Share this post


Link to post
Share on other sites

I have yet found a solution to my problem.. Im thinking controlclick is impossible ....

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