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

11
LINES

< > BotCompany Repo | #1019762 // moveMouseImmediate - moves mouse to a point on screen right away (if automation is not blocked)

JavaX fragment (include)

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

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

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

Author comment

Began life as a copy of #1005549

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019762
Snippet name: moveMouseImmediate - moves mouse to a point on screen right away (if automation is not blocked)
Eternal ID of this version: #1019762/1
Text MD5: 003cb9417f93993bb902aa7db42f5d12
Author: stefan
Category: javax / automation
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-25 02:34:19
Source code size: 292 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 256 / 292
Referenced in: [show references]