Bower Posted December 7, 2008 Share Posted December 7, 2008 (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 December 7, 2008 by Bower Link to comment Share on other sites More sharing options...
Marlo Posted December 7, 2008 Share Posted December 7, 2008 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 More sharing options...
Bower Posted December 7, 2008 Author Share Posted December 7, 2008 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 More sharing options...
Bower Posted December 7, 2008 Author Share Posted December 7, 2008 The code I have is ControlClick ( " L o g i n ", "", 460018, 692, 398) Link to comment Share on other sites More sharing options...
rafu5418 Posted December 7, 2008 Share Posted December 7, 2008 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 More sharing options...
Bower Posted December 7, 2008 Author Share Posted December 7, 2008 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 Link to comment Share on other sites More sharing options...
Bower Posted December 7, 2008 Author Share Posted December 7, 2008 I got ControlSend to work but not ControlClick x.x I have been working on it this hole day. I need help! Link to comment Share on other sites More sharing options...
Bower Posted December 8, 2008 Author Share Posted December 8, 2008 I have yet found a solution to my problem.. Im thinking controlclick is impossible .... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now