Libraryless. Click here for Pure Java version (5724L/40K/134K).
!7 static XP_FindWindows fw; static RGBImage activeWindow() { FoundWindow w = findWhere(fw.foundWindows, active := true); ret w == null ? null : fw.rgb(w.r); } p { fw = new XP_FindWindows; fw.step(); RGBImage img = activeWindow(); if (img == null) print("No active window"); else { showImage(ocr_explodedView1(img)); } }
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: | 591 / 696 |
Referenced in: | [show references] |