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).

1  
svoid dm_moveMouse(Rect r, S targetName) {
2  
  if (r == null) ret;
3  
  print("Moving mouse to " + humanizeFormLabel(targetName));
4  
  O mover = vmBus_query mouseMover();
5  
  if (mover == null) ret with print("No mover");
6  
  callWithImportExport(mover, 'moveMouse, centerOfRect(r));
7  
  print("MOVED");
8  
}
9  
10  
svoid dm_moveMouse(S targetName, Rect r) {
11  
  dm_moveMouse(r, targetName);
12  
}

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: 196 / 244
Version history: 5 change(s)
Referenced in: [show references]