Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1006393 // Continuous Color Picker

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (7482L/52K/179K).

!7

p {
  RGB last = null;
  while licensed {
    sleep(100);
    Point p = mouseLocation();
    RGB rgb = shootScreen(new Rect(p.x, p.y, 1, 1)).getPixel(0, 0);
    if (neq(rgb, last)) {
      last = rgb;
      print(p.x + "/" + p.y + ": " + rgb + " " + formatDouble(rgb.getBrightness(), 2));
      consoleStatus(str(rgb));
    }
  }
}

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: 506 / 599
Version history: 2 change(s)
Referenced in: