utility application to scrape text out of / off of the window of specific apps running on the computer.
use windows api and c++ / c to hook the textdraw or other similar methods to capture certain text (like name of client) from some windows of specific applications.
------------
I have code attached, that sets a hook and gets the title bar of a few applications when they update. It works great. It also uses gettext to grab some text out of famfile.exe and parse it down to the patient name and patient chart number.
We started with titlehook.exe just running in a cmd window but moved to titlehooktray.exe which puts an icon you can close.
I have two issues with this code: (I am not the programmer, I had someone code it for me but I have a MS in CS so I can follow along pretty well ... )
1. When you close the titlehooktray.exe, the process doesn't completely go away. Close it and try to rename titlehook.dll and you'll see that the OS still has it loaded.
2. This code runs on a citrix / terminal server and works great when the users have a desktop. But when run as a seemless published app, only the gettext api grabs the stuff in the famfile.exe window... the grabs of titlebar / caption bar text do not work. Now that is not terribly surprising, since the window is being drawn on the client, but if the gettext is working, I am guessing that I can still get the titlebar info too.
you can download code from here: http://dl.getdropbox.com/u<wbr></wbr>/1288178/T<wbr></wbr>itleHook.z<wbr></wbr>ip
Thanks,
gsgi
接包方 | 国家/地区 | |
---|---|---|
![]() |
3
Atpl
(中标)
|
|
![]() |
3
Igloo360
|
|
![]() |
3
Equinoxapps
|
|
![]() |
3
Jpdrecourt
|
|
3
Paul505
|
||
![]() |
2
Iphonesdkpros
|
|
![]() |
2
Colincornaby
|