Libraryless. Click here for Pure Java version (7482L/52K/179K).
1 | !7 |
2 | |
3 | p {
|
4 | RGB last = null; |
5 | while licensed {
|
6 | sleep(100); |
7 | Point p = mouseLocation(); |
8 | RGB rgb = shootScreen(new Rect(p.x, p.y, 1, 1)).getPixel(0, 0); |
9 | if (neq(rgb, last)) {
|
10 | last = rgb; |
11 | print(p.x + "/" + p.y + ": " + rgb + " " + formatDouble(rgb.getBrightness(), 2)); |
12 | consoleStatus(str(rgb)); |
13 | } |
14 | } |
15 | } |
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: | #1006393 |
| Snippet name: | Continuous Color Picker |
| Eternal ID of this version: | #1006393/3 |
| Text MD5: | 629a33415486126666800ea915da67d1 |
| Transpilation MD5: | 69775dd8e196bcf83faa0e8c75999d58 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-16 12:15:52 |
| Source code size: | 349 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 724 / 867 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |