Can someone crack this problem? I can't...
-
Hi everybody, I have developed an IE extension that will popup an HTML div layer with lots of information once I move the mouse cursor over a word/string in a web page document. Now, this is restricted to only work in IE. I want the same functionality but system wide. I know there is software that can do this; that is, point the mouse on ANY string (besides the ones that are images) on the screen and voila, a nice little box appear next to the word with translations and other nice information about the word. My question: How can I retrieve the string beneath the mouse pointer, no matter where and in which application the mouse cursor is placed...? I've heard of some OCR programs that can do this but I don't want that now; maybe as a next step to implement popups on images as well. Please, if you do know anything about this, don't hesitate to mail!!! Thx!!! /Tommy
-
Hi everybody, I have developed an IE extension that will popup an HTML div layer with lots of information once I move the mouse cursor over a word/string in a web page document. Now, this is restricted to only work in IE. I want the same functionality but system wide. I know there is software that can do this; that is, point the mouse on ANY string (besides the ones that are images) on the screen and voila, a nice little box appear next to the word with translations and other nice information about the word. My question: How can I retrieve the string beneath the mouse pointer, no matter where and in which application the mouse cursor is placed...? I've heard of some OCR programs that can do this but I don't want that now; maybe as a next step to implement popups on images as well. Please, if you do know anything about this, don't hesitate to mail!!! Thx!!! /Tommy
I'm afraid that OCR is going to be your only answer if you want *any* text, since the text gets rendered by the App to screen, and therefore may not even exist as a literal string in memory when you try and grab it. It might be possible to somehow add a system hook to grab text that can be copied to the clipboard, but that's only going to be a tiny subset of the text on screen -- Help me! I'm turning into a grapefruit!
-
Hi everybody, I have developed an IE extension that will popup an HTML div layer with lots of information once I move the mouse cursor over a word/string in a web page document. Now, this is restricted to only work in IE. I want the same functionality but system wide. I know there is software that can do this; that is, point the mouse on ANY string (besides the ones that are images) on the screen and voila, a nice little box appear next to the word with translations and other nice information about the word. My question: How can I retrieve the string beneath the mouse pointer, no matter where and in which application the mouse cursor is placed...? I've heard of some OCR programs that can do this but I don't want that now; maybe as a next step to implement popups on images as well. Please, if you do know anything about this, don't hesitate to mail!!! Thx!!! /Tommy
Look at the Active Accessibility API (IAccessible etc) for a good start. Its not easy to use, but provides a good lot more information on screen items.
int x=1, y=5;
x^=y^=x^=y; // whats the content of x and y now?
ClickHereForHelp();