Libraryless. Click here for Pure Java version (5724L/40K/134K).
1 | !7 |
2 | |
3 | static XP_FindWindows fw; |
4 | |
5 | static RGBImage activeWindow() {
|
6 | FoundWindow w = findWhere(fw.foundWindows, active := true); |
7 | ret w == null ? null : fw.rgb(w.r); |
8 | } |
9 | |
10 | p {
|
11 | fw = new XP_FindWindows; |
12 | fw.step(); |
13 | RGBImage img = activeWindow(); |
14 | if (img == null) print("No active window");
|
15 | else {
|
16 | showImage(ocr_explodedView1(img)); |
17 | } |
18 | } |
Began life as a copy of #1006425
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: | #1006452 |
| Snippet name: | "Explode" contents of active window [works but the "explosion" function is not so good] |
| Eternal ID of this version: | #1006452/1 |
| Text MD5: | f17d33816f4a9bb21932c581e95405b2 |
| Transpilation MD5: | ac605ddd8835e496d9fedcd35c971909 |
| Author: | stefan |
| Category: | javax / ocr |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-05 12:02:59 |
| Source code size: | 360 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 904 / 1049 |
| Referenced in: | [show references] |