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

12
LINES

< > BotCompany Repo | #1006413 // Find closest thing to XP close icon on screen

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

Libraryless. Click here for Pure Java version (5682L/39K/131K).

1  
!7
2  
3  
p {
4  
  new ShootLoop {
5  
    void recognize {
6  
      FoundImg fi = bwImageSearch_best(screen, loadBWImage_cached(#1005902), 0f);
7  
      setSelection(fi);
8  
      if (fi != null)
9  
        quickShowZoomedImage(clipBufferedImage(originalScreen, fi.r));
10  
    }
11  
  }.run/*WithThumbnails*/();
12  
}

Author comment

Began life as a copy of #1005885

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006413
Snippet name: Find closest thing to XP close icon on screen
Eternal ID of this version: #1006413/1
Text MD5: 5e029f3914a060ae0e67523b12c757b0
Transpilation MD5: dce66eb0734dd42b089991d5f85d9589
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-01 19:19:19
Source code size: 293 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 570 / 690
Referenced in: [show references]