View previous topic :: View next topic |
Author |
Message |
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Sun Feb 12, 2017 2:03 am Post subject: how to mouse pointer is a fixed location ? |
|
|
Hello Admin and member ,here is my code
Code: | if mytimer2 == nil then
mytimer2 = createTimer(nil, false)
end
mytimer2.OnTimer = function(timer)
mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP)
end
mytimer2.Interval = 500
if myhotkey then
myhotkey.Destroy()
end
myhotkey = createHotkey(function()
mytimer2.Enabled = not mytimer2.Enabled
end, VK_F5) |
Is there any way when I run it, it's just a fixed position? and continuous operation until I turn it off?
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Sun Feb 12, 2017 12:12 pm Post subject: |
|
|
set mouse position onTimer function.
_________________
|
|
Back to top |
|
|
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Thu Feb 16, 2017 7:33 am Post subject: |
|
|
Upppppppppp
Help me
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Feb 16, 2017 5:55 pm Post subject: |
|
|
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Thu Feb 16, 2017 10:00 pm Post subject: |
|
|
Code: | mytimer2.OnTimer = function(timer)
mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP)
setMousePos(x,y)
end |
|
|
Back to top |
|
|
akumakuja28 Master Cheater Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Thu Feb 16, 2017 10:23 pm Post subject: |
|
|
Code: | mytimer2.OnTimer = function(timer)
mouse_event(MOUSEEVENTF_ABSOLUTE, 100,200)
mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP)
end |
Set position first then execute right click
_________________
|
|
Back to top |
|
|
SunBeam I post too much Reputation: 65
Joined: 25 Feb 2005 Posts: 4022 Location: Romania
|
Posted: Fri Feb 17, 2017 1:44 am Post subject: |
|
|
..online games again..
|
|
Back to top |
|
|
|