Rank: Newbie
Groups: Approved
Joined: 7/1/2019(UTC) Posts: 3 Location: sc
|
i want add a hotkey: when i press z buttom loop the left click sp.MouseClick(action.start, MouseButtons.Left, true, true); is not work sp.MouseClick(new Point(x,y), MouseButtons.Left, true, true); is work i don't know why Edited by user Sunday, July 7, 2019 12:17:37 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
The action object doesn't exist within a hot key script because it contains properties that are not certain during a hot key press. This should work fine: Code:sp.MouseClick(sp.GetCurrentMousePoint(), MouseButtons.Left, true, true);
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/1/2019(UTC) Posts: 3 Location: sc
|
thank you it's works and help me understand some "Help Document"
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close