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

I want some way to create a shortcut button to pause windows media player. My keyboard doesn't come with a puase/play button, so I want to find a free way to mimic that.

share|improve this question
up vote 3 down vote accepted

The following autohotkey script worked for me:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Recommended for catching common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


But this answer also covers other options

share|improve this answer

You don't necessarily need to use AHK and keep it running (unless of course you're using it for other reasons as well). A key remapper app like SharpKeys should also be able to help, by allowing you to remap any unused key to act as Play/Pause:


This way, no extra process needs to keep running in the background.

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.