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 

Mapping Right and Left Click to One Key

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Howdy
Guest





PostPosted: Sat Jul 19, 2008 4:42 am    Post subject: Mapping Right and Left Click to One Key Reply with quote

Can someone tell me the code for this? I'm not good with computers Smile. Thanks!
Back to top
SpiderGames



Joined: 09 Jun 2008
Posts: 281
Location: Canada

PostPosted: Sat Jul 19, 2008 4:52 am    Post subject: Reply with quote

do you want to press the Lbutton and Rbutton at the same time???
if you do you can trysomethign like this
Code:

LButton::
{
MouseClick, Right
return,
}

RButton::
{
MouseClick, Left
Return,
}

or if you want a hotkey to acctivate both...
Code:

s::  ; makes s the hotkey...
{
MouseCLick, Left
MouseClick, Right
}

_________________
http://www.spider-games77.piczo.com
Join the Elite few...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Howdy
Guest





PostPosted: Sat Jul 19, 2008 5:01 am    Post subject: Reply with quote

Thanks a ton!
Back to top
Guest






PostPosted: Sat Jul 19, 2008 5:09 am    Post subject: Reply with quote

How can I put a certain time delay between left and right clicking. ( Left Click comes first) Thanks!
Back to top
Speedzter



Joined: 23 Jun 2008
Posts: 28

PostPosted: Sat Jul 19, 2008 5:43 am    Post subject: Reply with quote

Anonymous wrote:
How can I put a certain time delay between left and right clicking. ( Left Click comes first) Thanks!


Code:
s:: ; change to the hotkey you want
{
MouseCLick, Left
Sleep, 100 ; Change to the timedelay you want (1000 = 1 sec)
MouseClick, Right
}
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Aug 04, 2008 8:03 pm    Post subject: Reply with quote

hi im not rly good with computers to ^^
but i got a similar problem with one difference:
I dont want Hotkey i want to R-map my mouse and Keyboard keys.

I want to bind my Right Mousebutton to the keyboard key "s" and if possible the "s" key to the Righte Mousebutton.
Back to top
Guest






PostPosted: Mon Aug 04, 2008 8:07 pm    Post subject: Reply with quote

Anonymous wrote:
hi im not rly good with computers to ^^
but i got a similar problem with one difference:
I dont want Hotkey i want to R-map my mouse and Keyboard keys.

I want to bind my Right Mousebutton to the keyboard key "s" and if possible the "s" key to the Righte Mousebutton.


i wanted to Re-mapping not R-map ^^
Back to top
Krogdor



Joined: 18 Apr 2008
Posts: 903
Location: The Interwebs

PostPosted: Mon Aug 04, 2008 11:21 pm    Post subject: Reply with quote

RButton::s
s::RButton
Back to top
View user's profile Send private message AIM Address
Guest






PostPosted: Mon Aug 04, 2008 11:59 pm    Post subject: Reply with quote

Krogdor wrote:
RButton::s
s::RButton


omg that was far to easy ty i will try this ^^
Back to top
Display posts from previous:   
Post new topic   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