Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm not using the two buttons on the side of my mouse, and would like to bind them to the previous/next song commands like the ones on my keyboard.

It's a Microsoft Wireless Laser Mouse 6000 and I've downloaded the software for it, but don't see any default commands that look like what I want.

It allows binding to a macro, but I don't know what I'd have to put in the program either.

share|improve this question
up vote 3 down vote accepted

You can compile an AutoHotkey script for each action and then assign the resulting EXE files to the buttons using the mouse driver software.

For the Next media key, compile:

#SingleInstance, Force
SendInput, {Media_Next}

For Previous:

#SingleInstance, Force
SendInput, {Media_Prev}
share|improve this answer
Worked perfectly, thanks! – mowwwalker Jun 6 '12 at 21:16
didn't even think of that, good work! – EaterOfCode Mar 14 '13 at 15:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .