Jump to content

Capture Control


Recommended Posts

Hi,

Does anyone know how I can capture the following control that is found in the "Control Under Mouse" section? I can't seem to capture it using the listview control function. BTW it is a list view.

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: **Removed for privacy**

Class: Afx:400000:20:0:0:5700583

Size: X: 60    Y: 95    W: 812    H: 563

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Window: X: 591 Y: 330

Cursor ID: 0

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xFFFFE1 Dec: 16777185

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size:  X: 535    Y: 118    W: 246    H: 296

Control ID: 1210

ClassNameNN: Afx:400000:28:10011:0:03

Text: 

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Link to comment
Share on other sites

What do you want to get? I also encounted a problem like this and used a combination of ControlListView () and its functions eg, "GetText" to solve it. And you can actually retrieve most/all text from an Item/Subitem.

The example isn't very good but.

Edit: Maybe I misinterpretted the question :"> .

Edited by Burrup

qq

Link to comment
Share on other sites

You get the answer on the first line of your quote Ctrl-Alt-F

and then you can go to AutoIt info window select whatever you want with the mouse put it in the clipboard by Ctrl-C and paste it where you want.

Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...