Libraryless. Click here for Pure Java version (5590L/39K/132K).
1 | !7 |
2 | |
3 | static double sleep = 0.2; |
4 | static int w = 300, h = 300; |
5 | static ImageSurface is; |
6 | |
7 | p-substance { |
8 | is = alwaysOnTop(showImage(new RGBImage(w, h, Color.white; |
9 | hideConsole(; |
10 | installTimer(is, toMS(sleep), r { |
11 | Rect r = intersectWithScreen(rectAround(new Pt(mouseLocation()), w, h)); |
12 | BufferedImage img = shootScreen2(r); |
13 | is.setImage(img); |
14 | }); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006520 |
Snippet name: | Screen Lens |
Eternal ID of this version: | #1006520/1 |
Text MD5: | 38f3ea6e5207d6bc0b026a2983b53515 |
Transpilation MD5: | 8301831c602e04900f2493d4955bab52 |
Author: | stefan |
Category: | javax / gui / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-14 18:05:23 |
Source code size: | 373 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 530 / 665 |
Referenced in: | [show references] |