Rafael Ventura
Rafael Ventura

Reputation: 314

How to get the text from Textbox in another app? Window Inspector / Spy++

I have used Window Inspector and Spy++ to try and find a specific Textbox in a 3rd party app. It seems I found the box, as the Rect coordinates match what I expected.

But how do I get the text from this Textbox? I can possibly filter through all the details that Spy++ and Window Inspector give me, but I can't seem to find a way of getting the entire "pool of information" Window Inspector and Spy++ give me.

The Window at Textbox details below:

Window

Children: 0x000601f4 • Class: "#32770" • Rect: X=539, Y=513, W=450, H=358 • Style: 0x40000044 • StyleEx: 0x00000000 • Min: False • Max: False • PID: 5124 • Path: 'C:\Program Files (x86)\My App\My App.exe'

`

Textbox

0x00010660 • Class: "Edit" • Rect: X=550, Y=599, W=429, H=224 • Style: 0x503100c4 • StyleEx: 0x00000204 • Min: False • Max: False • PID: 5124 • Path: 'C:\Program Files (x86)\My App\My App.exe'

Upvotes: 1

Views: 737

Answers (1)

Slack Groverglow
Slack Groverglow

Reputation: 856

Hope I'm not misunderstanding the question. It should be simple enough

For Windows Inspector the textbox contents should be under Text (normal):

Windows Inspector

For Spy++ the textbox contents should be under Caption

enter image description here

Upvotes: 2

Related Questions