I want to combine Left windows key with printscreen, for on my mouse xbutton2.

i can't get any further than Xbutton2::Lwin

Many thanks !


For mapping to XButton2:

Lwin & PrintScreen::MouseClick , XButton2

For mapping from XButton2:

XButton2::Send, {LWin down}PrintScreen{LWin up}

AutoHotkey references:

  • Thanks man ! thanks for the help, i just want in the other way around. Like i want to press Xbutton2, to activate Lwin & Printscreen at the same time for a screen shot. – Dlshad Barzany Nov 27 at 7:57
  • Added more stuff to try. – harrymc Nov 27 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.