debkol35 Posted May 12, 2014 Posted May 12, 2014 (edited) hi...I am new in this AutoIT. Making script for first time. I need some help, I have 2 windows open. I want to select 1 window first and then click a box inside it. When done, select the 2nd window and click inside it. This is the first window information, >>>> Window <<<< Title: [#] bla 1[#] Class: Bla1 Position: 207, 154 Size: 864, 567 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x00000000001002E4 >>>> Control <<<< Class: bla1:Chrome_RenderWidgetHostHWND Instance: 1 ClassnameNN: bla1:Chrome_RenderWidgetHostHWND1 Name: Advanced (Class): [CLASS:bla 1:Chrome_RenderWidgetHostHWND; INSTANCE:1] ID: 54026176 Text: Position: 0, 29 Size: 848, 499 ControlClick Coords: 463, 248 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x00000000002402F6 I tried WinWaitActive and ControlClick commands but not working Please help me. Edited May 12, 2014 by debkol35
debkol35 Posted May 12, 2014 Author Posted May 12, 2014 (edited) I did it. but Ok..got another problem !! here is what I did :- ; Script Start - Add your code below here ControlFocus("[Class:bla1]", "", "") sleep(1000) ControlFocus("[Class:bla2]", "", "") It is selecting bla1 window but after that not selecting bla2 window !! Please need some help here Edited May 12, 2014 by debkol35
jdelaney Posted May 12, 2014 Posted May 12, 2014 WinActivate("[Class:bla1]", "") sleep(1000) WinActivate("[Class:bla2]", "") IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
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