Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Music controls

  • Please log in to reply
1 reply to this topic
  • Members
  • 5 posts
  • Last active: Jul 30 2015 02:11 PM
  • Joined: 24 Mar 2015

In this tutorial I'm going to be using Alt gr and the numpad.


;next song
<^>!Numpad6::Send {Media_Next}

;previous song
<^>!Numpad4::Send {Media_Prev}

<^>!Numpad5::Send {Media_Play_Pause}

Let's break it down,

"<^>" is Alt gr.


The exclamation mark tells the compiler that the previous key (In this case, Alt gr) must be held down in order for the following button (Numpad x) to execute the command.


The semi-colons will comment out the rest of the line.


The two colons after the hotkeys tell the compiler that we're about to write whatever we want executed.


"Send" is a method we use to send a message to whatever global variable the current music state is. Followed by the requested argument.

  • New members
  • 1 posts
  • Last active: Oct 13 2015 03:06 PM
  • Joined: 13 Aug 2015

Is there a way to send the {Media_Next}, {Media_Play_Pause} information, but not to the default media program?


I use iTunes, but my computer is setup with Windows Media player. It has media buttons, but they only work for WMP.