Sign in to follow this  
Followers 0
IDontSleep

Q: Is it possible to get handle of <Control ID> of another application?

3 posts in this topic

#1 ·  Posted (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 by IDontSleep

Share this post


Link to post
Share on other sites



Thank you.Always looked at GUICTRLGetHandle().

Share this post


Link to post
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
Sign in to follow this  
Followers 0