jdegre
Elite
- Joined
- Dec 24, 2005
- Posts
- 2,963
- Location
- Madrid, Spain
- Society
- Survival Program
- Avatar Name
- Jesus jdegre de Gregorio
thanks oz & gandalf for the info.
so, my app receives from the clipboard the whole image from both displays and, as you said, i have to look for the skills window in a huge desktop area, even when working in full-screen mode.
carebear pointed out to use <Alt>+<PrntScrn> when in windowed mode; this should put in the clipboard only the active window (and this is what everybody should use when in windowed mode, btw), but it won't work in full-screen mode (well, it will work, but slowly, obviously).
@sledge: yes, using windows native code would have many benefits, but i'll try to stay away from that approach, if possible. i think that having a 100% java approach offers many advantages (specially form the security point of view).
for instance, people have suggested why not using a "hotkey" different than PrintScrn to activate the scanning?. well, the answer is that it is not possible. in java, i cannot register a system-wide hotkey (and therefore, i could not possibly implement a keylogger, which is a good thing, don't you think so?).
so, my app. simply listens in the clipboard for image-type objects, and you can activate it with PrntScrn, Alt-PrntScrn, or even Ctrl-C (if you have screenshots in BMP files, you can open them with an imaging-processing application and hit Ctrl-C to activate the scanning app.).
so, my app receives from the clipboard the whole image from both displays and, as you said, i have to look for the skills window in a huge desktop area, even when working in full-screen mode.
carebear pointed out to use <Alt>+<PrntScrn> when in windowed mode; this should put in the clipboard only the active window (and this is what everybody should use when in windowed mode, btw), but it won't work in full-screen mode (well, it will work, but slowly, obviously).
@sledge: yes, using windows native code would have many benefits, but i'll try to stay away from that approach, if possible. i think that having a 100% java approach offers many advantages (specially form the security point of view).
for instance, people have suggested why not using a "hotkey" different than PrintScrn to activate the scanning?. well, the answer is that it is not possible. in java, i cannot register a system-wide hotkey (and therefore, i could not possibly implement a keylogger, which is a good thing, don't you think so?).
so, my app. simply listens in the clipboard for image-type objects, and you can activate it with PrntScrn, Alt-PrntScrn, or even Ctrl-C (if you have screenshots in BMP files, you can open them with an imaging-processing application and hit Ctrl-C to activate the scanning app.).