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

12
LINES

< > BotCompany Repo | #1025312 // dm_moveMouse

JavaX fragment (include) [tags: use-pretranspiled]

Uses 408K of libraries. Click here for Pure Java version (3916L/25K).

svoid dm_moveMouse(Rect r, S targetName) {
  if (r == null) ret;
  print("Moving mouse to " + humanizeFormLabel(targetName));
  O mover = vmBus_query mouseMover();
  if (mover == null) ret with print("No mover");
  callWithImportExport(mover, 'moveMouse, centerOfRect(r));
  print("MOVED");
}

svoid dm_moveMouse(S targetName, Rect r) {
  dm_moveMouse(r, targetName);
}

Author comment

Began life as a copy of #1025031

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025312
Snippet name: dm_moveMouse
Eternal ID of this version: #1025312/6
Text MD5: 88be30eaec711a521e9851449f75db01
Transpilation MD5: aa6eff27694836401e09e38bf584e53d
Author: stefan
Category: javax / visual bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-21 22:16:06
Source code size: 380 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 246
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025315 - dm_unblockAutomation