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

11
LINES

< > BotCompany Repo | #1005799 // moveMouseQuickly

JavaX fragment (include)

1  
static void moveMouseQuickly(Rect r) {
2  
  moveMouseQuickly(centerOfRect(r));
3  
}
4  
  
5  
static void moveMouseQuickly(Pt p) {
6  
  moveMouseQuickly(p.x, p.y);
7  
}
8  
  
9  
static void moveMouseQuickly(int x, int y) ctex {
10  
  new Robot().mouseMove(x, y);
11  
}

Author comment

Began life as a copy of #1005716

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: #1005799
Snippet name: moveMouseQuickly
Eternal ID of this version: #1005799/2
Text MD5: b260653e80669669c37da89b2e75e48a
Author: stefan
Category: javax / automation
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-24 01:00:06
Source code size: 245 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 587 / 590
Version history: 1 change(s)
Referenced in: [show references]