Jump to content

ControlClick With picture!


Bower
 Share

Recommended Posts

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
Link to comment
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
Link to comment
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.

Link to comment
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 ]]]] )
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...