How to get Value of TStringGrid1 ?

Get help with using AutoHotkey 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
(7.29 KiB) Not downloaded yet
MaxAstro
Posts: 551
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 79 times
MaxAstro
Posts: 551
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”

Who is online

Users browsing this forum: chngrcn, kdaube, pro100andrik94 and 81 guests