How to get Value of TStringGrid1 ?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cgarrotti
Posts: 2
Joined: 20 Feb 2018, 09:42

How to get Value of TStringGrid1 ?

20 Feb 2018, 09:48

How i get value/text of TStringGrid1 ?
I Tried:

ControlGetText, OutputVar, TStringGrid1,Consulta de Contas a Pagar.
MsgBox #%OutputVar%
Attachments
img.PNG
img.PNG (7.29 KiB) Viewed 614 times
MaxAstro
Posts: 557
Joined: 05 Oct 2016, 13:00

Re: How to get Value of TStringGrid1 ?

20 Feb 2018, 12:21

What does WindowSpy show when you mouse over the grid?
cgarrotti
Posts: 2
Joined: 20 Feb 2018, 09:42

Re: How to get Value of TStringGrid1 ?

20 Feb 2018, 12:31

MaxAstro wrote:What does WindowSpy show when you mouse over the grid?

in this Print Screen u can see
Attachments
Sem título.png
Print Screen
Sem título.png (30.63 KiB) Viewed 705 times
MaxAstro
Posts: 557
Joined: 05 Oct 2016, 13:00

Re: How to get Value of TStringGrid1 ?

20 Feb 2018, 16:23

Unfortunately, my experience with similar grids indicates that if WindowSpy doesn't see any text, it's typically not possible to directly extract the text. I actually ended up having to write a basic OCR script in order to get text out of a similar grid.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 334 guests