Libraryless. Click here for Pure Java version (5503L/38K/130K).
1 | !7 |
2 | |
3 | // The engine (#1006424) might need tweaking if you have a |
4 | // different color scheme / text size. |
5 | |
6 | p {
|
7 | new XP_FindWindows fw; |
8 | shootScreenHidingConsole_delay = 500; |
9 | fw.doSingle(shootScreenHidingConsole()); |
10 | FoundWindow w = findWhere(fw.foundWindows, active := true); |
11 | if (w == null) print("No active window");
|
12 | else |
13 | showImage(clipBufferedImage(fw.originalScreen, w.r)); |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006425 |
| Snippet name: | Windows XP: Make screenshot of active window |
| Eternal ID of this version: | #1006425/1 |
| Text MD5: | 0e92f67a652d33f059280d2627988f33 |
| Transpilation MD5: | 476480c932bac29a587b6904d2285b0f |
| Author: | stefan |
| Category: | javax / ocr |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-01 23:54:23 |
| Source code size: | 400 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 757 / 983 |
| Referenced in: | [show references] |