retshows.blogg.se

Snagit 13 how to grab text
Snagit 13 how to grab text








snagit 13 how to grab text
  1. #Snagit 13 how to grab text code
  2. #Snagit 13 how to grab text windows
snagit 13 how to grab text

Perhaps you will need to use an OCR library and screen capture the image of the other app so the OCR library, once you programmatically understand You can not get text if there is no string displayed in an external applications window using API's to get text. You say SnagIt can provide the text from a screen capture so I suppose it is using OCR. Perhaps it uses OCR to scrape text from an image since you say it performs screen capture. It may be displaying an image with text drawn in it or string drawn in image control. You may be able to read text from a display window of another app however that does not mean the other app is displaying a string of text. I know how to do everything else minus the text capture. The other application does not have edit mode (cut, copy and paste) so I can not select and copy (even with Ctrl + C), however I can capture the text of this application using Snagit In my application, to make the other application more user friendly. net application will display text (contain info that I need to calculate and re enter it in that application) I am interest in capture and process this info I have an application that I would like to capture the text of another application. That's why I suggested a bit more time with SPY to reconcile that report with what you can see in the app.

snagit 13 how to grab text

If there was a text box listed as a window of that form it would be obvious. It's not clear from the Spy report exactly where that text is hosted. If the text really is the text of the form, that will give you what you want.

#Snagit 13 how to grab text windows

Windows are, it is easier to do it sequentially. When you get the handle for the Terminal window, do GetText, and see what the result is. This would typically be done using recursion, but since you know from the SPY report exactly how far down you need to go and exactly what the From the lookĪt that you then need to execute GetChildWindows() to two more levels to get to the 'Terminal' window. If you can get that text, then the GetChildWindows() method should return something similar to what you saw in first level of the SPY report. 'MainProgram.exe' according to your image - to get to the top level window of the app. You would change the title of the top level window to the title . Without the application it's not possible to be more specific.

#Snagit 13 how to grab text code

You indicated that you have that code converted and working for Notepad - that's your best example. How would you do it? I am not very knowledgeable in this kind of VB programing. Your last reply was helpful, Would you please provide an example for my situation.










Snagit 13 how to grab text