AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Macro

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Misc



Joined: 29 Aug 2009
Posts: 15

PostPosted: Sat Aug 29, 2009 3:52 pm    Post subject: Macro Reply with quote

This code i got from a Blogspot but it does nothing can some1 edit this out and correct it

Lbutton::

MouseGetPos, xpos, ypos

Send, Lbutton

Mousemove, %xpos%,%ypos%

return

[Title edited. Please write descriptive titles for your topics. ~jaco0646]
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Sat Aug 29, 2009 4:01 pm    Post subject: Reply with quote

Hm..., what should it do for you?
Code:
Lbutton::

MouseGetPos, xpos, ypos

Send, {Lbutton}

Mousemove, %xpos%,%ypos%

return

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Misc



Joined: 29 Aug 2009
Posts: 15

PostPosted: Sat Aug 29, 2009 4:41 pm    Post subject: Reply with quote

No recoil for gaming
It works but when i shoot it yanks the mouse across the screen
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 3254
Location: Simi Valley, CA

PostPosted: Sat Aug 29, 2009 6:20 pm    Post subject: Reply with quote

Looks like you want the 'Relative' option for MouseMove.
_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!
Back to top
View user's profile Send private message
Misc



Joined: 29 Aug 2009
Posts: 15

PostPosted: Sat Aug 29, 2009 9:05 pm    Post subject: Reply with quote

Ahh still having the same problems...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group