Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I press Enter I first want to take a screenshot of the current Window using Greenshot, which listens to Ctrl+PrtScn, then I want the Enter command to work as usual.

When I press Enter I want to:

  1. Wait 1 second
  2. Alt+PrtScn
  3. Wait 1 second
  4. Enter

If it matters I mean the Enter key above Shift, not the one on the numeric keyboard. But if it complicates things remapping both of them is fine too!

share|improve this question
up vote 1 down vote accepted
$Enter::                ; $ Modifer needed as script sends Enter, to not trigger itself
  sleep, 1000           ; Wait 1 second
  send !{PrintScreen}   ; ! modifier equals Alt
  sleep, 1000
  send {Enter}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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