Jump to content

Recommended Posts

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
Posted

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
Posted

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.

Posted

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 ]]]] )
Posted

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

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
×
×
  • Create New...