Jump to content


Photo

How to put two keys on only one button?


  • Please log in to reply
6 replies to this topic

#1 Sylver Cheetah 53

Sylver Cheetah 53
  • Members
  • 2 posts

Posted 23 June 2010 - 02:04 AM

Hi! I want when pressing D, tu have like pressing D+Q (both, at the same time).
Can somebody do the script for me and post it here, please?

Thanks!
Daniel, Romania

#2 MasterFocus

MasterFocus
  • Moderators
  • 4126 posts

Posted 23 June 2010 - 02:36 AM

Here it is: <!-- m -->http://www.autohotke...cs/Tutorial.htm<!-- m -->

#3 Sylver Cheetah 53

Sylver Cheetah 53
  • Members
  • 2 posts

Posted 23 June 2010 - 11:09 AM

I don't understand it, it's too hard for me. If someone could do the code and post it here, would be great. :wink:

#4 None

None
  • Members
  • 3199 posts

Posted 23 June 2010 - 05:04 PM

~d::Send q


#5 jaceguay

jaceguay
  • Members
  • 11 posts

Posted 23 June 2010 - 05:19 PM

How this can be done in the script below? like in place of MButton, put two other keys, I´m trying to use Shift + MButton

F2::Send % "{MButton " ((Cnt := !Cnt) ? "Down}" : "Up}" )


#6 None

None
  • Members
  • 3199 posts

Posted 23 June 2010 - 06:54 PM

F2::Send % (Cnt := !Cnt) ? "{Shift Down}{MButton Down}" : "{Shift Up}{MButton Up}"


#7 jaceguay

jaceguay
  • Members
  • 11 posts

Posted 24 June 2010 - 12:13 PM

It work after I press the F2 button but the Shift and MButton don´t release if I press F2 again, only if i actually press the Shift and Middle Mouse button.