static void quickClick(Rect r, int preClickDelay) { moveMouseQuickly(r); sleep(preClickDelay); if (mouseLocationTooFarFrom(centerOfRect(r))) fail("Aborting automation because of user mouse movement"); mouseClick(r); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005802 |
Snippet name: | quickClick - move mouse quickly, wait for a short time, then click |
Eternal ID of this version: | #1005802/1 |
Text MD5: | b755adc7634025a555c1c158f9027843 |
Author: | stefan |
Category: | javax / automation |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-09 03:12:13 |
Source code size: | 235 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 525 |
Referenced in: | [show references] |