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 

RButton & LButton::____ Does not work

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





PostPosted: Sun Apr 01, 2007 11:32 pm    Post subject: RButton & LButton::____ Does not work Reply with quote

Is it possible to make combination of two mouse button?

When i run script
Code:
RButton & LButton::Send x

It works, but my right mouse button can only do that, in all other function it is disabled.
If i write "LButton & RButton" than my left mouse button stopped to do anything except script.

Is it has solution?
Back to top
Seclinix



Joined: 25 Sep 2006
Posts: 160
Location: In a House, On my a55

PostPosted: Sun Apr 01, 2007 11:46 pm    Post subject: Reply with quote

hmm very weird try adding it in the bugs section
_________________
You can download Runescape Macro's From
My Website
Virus codes for those anti-virus programmers
Visit the forum
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Guest+
Guest





PostPosted: Sun Apr 01, 2007 11:58 pm    Post subject: Reply with quote

~RButton & LButton::Send x
Back to top
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Mon Apr 02, 2007 12:17 am    Post subject: Reply with quote

not a bug - it's very well documented:
Hotkeys # Combo wrote:
You can define a custom combination of two keys (except joystick buttons) by using " & " between them. In the below example, you would hold down Numpad0 then press the second key to trigger the hotkey:

Numpad0 & Numpad1::MsgBox You pressed Numpad1 while holding down Numpad0.
Numpad0 & Numpad2::Run Notepad

In the above example, Numpad0 becomes a prefix key; but this also causes Numpad0 to lose its original/native function when it is pressed by itself. To avoid this, a script may configure Numpad0 to perform a new action such as one of the following:

Numpad0::WinMaximize A ; Maximize the active/foreground window.
Numpad0::Send {Numpad0} ; Make the release of Numpad0 produce a Numpad0 keystroke. See comment below.

The presence of one of the above hotkeys causes the release of Numpad0 to perform the indicated action, but only if you did not press any other keys while Numpad0 was being held down.

_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Qiao
Guest





PostPosted: Mon Apr 02, 2007 1:33 am    Post subject: Reply with quote

Thanks, that cleared situation.

But strange problem appeared:

Code:
~RButton & LButton::Send x

Works perfect
But
Quote:
~LButton & RButton::Send x

Works only partly:
It works in web browser, but doesn't work in text editors (Notepad and msWord).

Is it bug?
Back to top
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