get_window_text can not get the text of another application
Brought to you by:
apnadkarni
from twapi:
get_window_text HWIN
Gets the title of a window or the text associated with a control. In the latter case, the control must belong to the same application.
but autohotkey(https://www.autohotkey.com) can get the text of another application
I don't want drive autohotkey to do the work, I only want do this by Tcl.
I study a lot, may be we can use the raw window's API of SendMessageTimeout of twapi to do this work. but I know a little C language, and know nothing about Window's SDK, anyone can help me?
Anonymous
Diff:
Closing as wont-fix because it is not currently possibly with twapi and there are no plans to enhance twapi's key and mouse input or screen scraping functionality in the near future.