Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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.

#Esc::Media_Play_Pause

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:

1

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

share|improve this answer

Your Answer

 
discard

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.