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

11
LINES

< > BotCompany Repo | #1015480 // moveMouseTo_slowly - synonym of moveMouse - moves mouse to a point on screen, slowly (so user can watch)

JavaX fragment (include)

1  
static void moveMouseTo_slowly(int newx, int newy) {
2  
  moveMouse(newx, newy);
3  
}
4  
5  
static void moveMouseTo_slowly(Pt p) {
6  
  moveMouse(p);
7  
}
8  
9  
static void moveMouseTo_slowly(Rect r) {
10  
  moveMouse(centerOfRect(r));
11  
}

Author comment

Began life as a copy of #1015478

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015480
Snippet name: moveMouseTo_slowly - synonym of moveMouse - moves mouse to a point on screen, slowly (so user can watch)
Eternal ID of this version: #1015480/3
Text MD5: e721ca2c75f93043dba50d5b7086354c
Author: stefan
Category: javax / automation
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-15 01:09:28
Source code size: 221 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 342
Version history: 2 change(s)
Referenced in: [show references]