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

11
LINES

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

JavaX fragment (include)

static void moveMouse(int newx, int newy) ctex {
  mouseMover().moveMouse(pt(newx, newy));
}

static void moveMouse(Pt p) {
  if (p != null) moveMouse(p.x, p.y);
}

static void moveMouse(Rect r) {
  moveMouse(centerOfRect(r));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005549
Snippet name: moveMouse - moves mouse to a point on screen, slowly (so user can watch)
Eternal ID of this version: #1005549/5
Text MD5: 03a53acb3db0c31e0ec114981948a853
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 12:37:53
Source code size: 238 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 506 / 520
Version history: 4 change(s)
Referenced in: [show references]