Libraryless. Click here for Pure Java version (5503L/38K/130K).
!7 // The engine (#1006424) might need tweaking if you have a // different color scheme / text size. p { new XP_FindWindows fw; shootScreenHidingConsole_delay = 500; fw.doSingle(shootScreenHidingConsole()); FoundWindow w = findWhere(fw.foundWindows, active := true); if (w == null) print("No active window"); else showImage(clipBufferedImage(fw.originalScreen, w.r)); }
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: | 506 / 691 |
Referenced in: | [show references] |