IDontSleep Posted November 4, 2007 Share Posted November 4, 2007 (edited) Subj. Q: Is it possible to get handle of <Control ID> of another application? AutoIt v3 Active Window Info Press CTRL-ALT-F to freeze the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: ### Class: Afx:00400000:b:00010011:00000006:000508DF Size: X: -4 Y: -4 W: 1288 H: 748 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 468 Y: 713 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x181818 Dec: 1579032 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 374 Y: 166 W: 638 H: 545 Control ID: 1236 ClassNameNN: SysListView321 Text: List1 Style: 0x5021000D ExStyle: 0x00000204 >>>>>>>>>>> Status Bar Text <<<<<<<<<<< >>>>>>>>>>> Visible Window Text <<<<<<<<<<< ... I know,that <Control ID> of i need is 1236. But it's List. I want to imitate mouse clicking on some rows in this list. All what i need is to get Handle of <Control ID> # 1236, so i could take any data,that i want.Thank you. If it's possible,it would be great. Thank you. Edited November 4, 2007 by IDontSleep Link to comment Share on other sites More sharing options...
Achilles Posted November 4, 2007 Share Posted November 4, 2007 Try these: ControlGetHandle() ControlSend() ControlClick() Look in the helpfile for detailed descriptions of each one... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
IDontSleep Posted November 5, 2007 Author Share Posted November 5, 2007 Thank you.Always looked at GUICTRLGetHandle(). 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