• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:26
CET 00:26
KST 08:26
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
ByuL: The Forgotten Master of ZvT29Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Team Liquid Map Contest - Preparation Notice2Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza1Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258
StarCraft 2
General
Team Liquid Map Contest - Preparation Notice How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? ByuL: The Forgotten Master of ZvT Nexon's StarCraft game could be FPS, led by UMS maker Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 515 Together Forever Mutation # 514 Ulnar New Year Mutation # 513 Attrition Warfare
Brood War
General
It's March 3rd BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ CasterMuse Youtube Recent recommended BW games
Tourneys
[Megathread] Daily Proleagues BWCL Season 64 Announcement The Casual Games of the Week Thread [LIVE] [S:21] ASL Season Open Day 1
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Diablo 2 thread Path of Exile
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Just Watchers: Why Some Only…
TrAiDoS
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1773 users

How to set volume controls as macros on Razer BW

Forum Index > Tech Support
Post a Reply
DisaFear
Profile Blog Joined September 2010
Australia4074 Posts
February 26 2011 09:08 GMT
#1
Hi all,

Been trying to make my life simpler by using the macro functions on the Razer Black Widow
For my non-gaming profile, I set up the macro keys to open my favourite programs (Firefox, Mail client, Steam, etc)
Now for my gaming profile, I am trying to use the buttons to make the volume go up and down. However, this does not seem to work, as the Function key doesn't seem to want to record as a macro. Having the volume on a macro would help, as currently, I need to press the function key, then the F2/F3, which can be hard in-game.

Any help? Am I doing something wrong? Or can this just not be done?

Thanks
How devious | http://anartisticanswer.blogspot.com.au/
t3tsubo
Profile Blog Joined April 2009
Canada682 Posts
February 28 2011 03:48 GMT
#2
i have the same problem, any help would be nice
DisaFear
Profile Blog Joined September 2010
Australia4074 Posts
March 23 2011 11:43 GMT
#3
Bump
How devious | http://anartisticanswer.blogspot.com.au/
Lexus86
Profile Joined February 2010
Korea (South)10 Posts
April 30 2011 01:43 GMT
#4
Oh yeah, one more friend of setting volume controls on the mouse.
For what else do I got all those buttons?! It's a pity!

I use a Razer Orochi.
Foreigner in Korea.
LanTAs
Profile Blog Joined September 2010
United States1091 Posts
April 30 2011 02:36 GMT
#5
are the FN+F(x) whatever key buttons not nice enough?

=) i used to have one, i broke it, got a G110 instead, not as good. but then i DO have a wheel for volume control :p
Adaelden
Profile Joined September 2009
Canada43 Posts
April 30 2011 03:03 GMT
#6
the only thing i have a problem with is the play/stop/next/back buttons

anyone know the fixes for any of these?
Laugh as much as you breathe and love as long as you live.
sinani206
Profile Blog Joined November 2010
United States1959 Posts
April 30 2011 03:31 GMT
#7
On April 30 2011 12:03 Adaelden wrote:
the only thing i have a problem with is the play/stop/next/back buttons

anyone know the fixes for any of these?


Yeah for me these only work if iTunes is the active window (which isn't the case while I'm playing StarCraft)
literally everything is wifom just shut the fuck up
vek
Profile Joined March 2010
Australia936 Posts
Last Edited: 2011-04-30 06:50:27
April 30 2011 06:49 GMT
#8
On April 30 2011 12:31 sinani206 wrote:
Show nested quote +
On April 30 2011 12:03 Adaelden wrote:
the only thing i have a problem with is the play/stop/next/back buttons

anyone know the fixes for any of these?


Yeah for me these only work if iTunes is the active window (which isn't the case while I'm playing StarCraft)


I don't use iTunes myself (foobar for me) but this program may help:

http://itunescontrol.com/

You may also want to check out AutoHotkey:

http://www.autohotkey.com/
Azn_Christian
Profile Joined September 2010
United States153 Posts
April 30 2011 07:31 GMT
#9
For winamp. preferences-> global settings-> check both-> reassign to a macro you'll never use. -> reassign your keyboard macro to said macro. profit.
Life appears to me too short to be spent in nursing animosity or registering wrongs." - Charlotte Bronte, Jane Eyre
DharmaTurtle
Profile Joined August 2010
United States283 Posts
Last Edited: 2011-10-15 18:50:25
October 15 2011 18:48 GMT
#10
Caution: VERY LONG, THOROUGH ANSWER

Unfortunately, as far as I know, you can't get the Blackwidow's macro keys to trigger function/media keys with the supplied software/drivers. There is a solution, but it requires third party software.

AutoHotKey (AHK) is a free, open source macro creation/automation utility. wikipedia.org/wiki/Autohotkey

Go here and download AutoHotKey_L: autohotkey.com/download

Install it, find the default AutoHotKey.ahk file, open it up with Notepad, and add this code:

+F5:: Send {vkB3sc122}
+F4:: Send {Volume_Up 1}
+F2:: Send {Volume_Down 1}
+F8:: Send {Media_Next}
+F7:: Send {Media_Prev}

Save, double click it, and put a shortcut to it in your Windows Startup folder so that way you don't have to open it every time you turn on your computer. (C:\Users\USERNAMEHERE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)

The "+" means "shift", hold down shift F5, shift F4, etc, to toggle the hotkey. Don't forget the entire point of this - in the supplied Razer Black Widow configuration software, setup M1 to toggle Shift F4, M2 to Shift F2, etc, etc.

The {vkB3sc122} is the "hexadecimal virtual key code" for function+F5 on the BW keyboard. (For some reason I couldn't get the standard code {Media_Play_Pause} to work, so I had to resort to hex, as described here autohotkey.com/docs/KeyList.htm#SpecialKeys ) All this presumes that you have universal mmKeys.dll installed. If your iTunes DOES NOT respond to function+F5 when it is NOT IN FOCUS (when it is NOT THE MAIN WINDOW) go here and get it working first - the script will not work with iTunes out of focus unless function+F5 works when out of focus: everythingitunes.com/os/windows/2008-01-04/mmkeysdll/

If you can't figure out mmKeys.dll and still want to control iTunes when it isn't in focus, you can try this code which is a bit messier:

+F4:: Send {Volume_Up 1}
+F2:: Send {Volume_Down 1}

+F8::
IfWinExist, ahk_class ITWindow
ControlSend, ahk_parent, ^{RIGHT} ; > next
return

+F7::
IfWinExist, ahk_class ITWindow
ControlSend, ahk_parent, ^{LEFT} ; < previous
return

+F5::
IfWinExist, ahk_class ITWindow
ControlSend, ahk_parent, {SPACE} ; play/pause toggle
return


Notice that this sends ctrl+right, ctrl+left, and spacebar to ITWindow, which is iTune's class name. Unfortunately, the class name has been changed in the past because Apple likes to troll it's users, so it is very possible that it could change in the future and you'll need to update the code. Also, since it is sending spacebar, if you have the latest focus in the searchbar of iTunes, it will send the space to there and NOT pause your music. Therefore I prefer {vkB3sc122}, but your milage may vary.

If you don't have iTunes, you'll need to work with the media keys from the first script. If they don't work, go ahead and google around for program specific codes. Here's one for Winamp: autohotkey.com/docs/misc/Winamp.htm

AHK can do much, much more than send media key instructions. For me, I have it set up so that mouse wheel tilt does ctrl (shift) tab in firefox/chrome, windows v pastes what's in the clipboard WITHOUT any formatting attached, and automatically extends key words like "btw" to by the way and "gg" to "ㅎㅎㅈㅈ".

If you have any questions, PM me, because I don't read threads.
I went from bronze to platinum in 3 awesome days.
DharmaTurtle
Profile Joined August 2010
United States283 Posts
October 15 2011 19:03 GMT
#11
Also, as a random protip you can use
!+F5::
IfWinNotExist, ahk_class ITWindow
{
Run C:\Program Files (x86)\iTunes\itunes.exe
return
}

IfWinExist, ahk_class ITWindow ; toggle minimize/restore
{
IfWinNotActive ; restores window
WinActivate
Else
WinMinimize ; minimizes windows
return
}
return

I have M5 set up to toggle shift F5 which plays/pauses music. If you hit alt + M5 with the above code enabled (alt is "!" in the same way "+" is shift), you will either open iTunes, restore the window, or minimize the window. Notice how easy alt M5 is easy to hit xD
I went from bronze to platinum in 3 awesome days.
Please log in or register to reply.
Live Events Refresh
Next event in 1h 35m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft195
elazer 185
ROOTCatZ 100
CosmosSc2 41
StarCraft: Brood War
Sea 5162
Artosis 318
Shuttle 195
NaDa 19
Dota 2
monkeys_forever595
Counter-Strike
fl0m3719
Fnx 1826
Super Smash Bros
Mew2King53
PPMD37
Other Games
summit1g9811
shahzam818
FrodaN810
Liquid`Hasu168
C9.Mang0158
ToD152
Maynarde123
ViBE68
Liquid`Ken4
Organizations
Other Games
BasetradeTV155
Counter-Strike
PGL74
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 436
• mYiSmile158
• musti20045 25
• OhrlRock 1
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 11
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Scarra1689
Other Games
• imaqtpie1136
• Shiphtur173
Upcoming Events
PiGosaur Cup
1h 35m
Replay Cast
9h 35m
Replay Cast
1d
The PondCast
1d 10h
KCM Race Survival
1d 10h
WardiTV Winter Champion…
1d 12h
Replay Cast
2 days
Ultimate Battle
2 days
Light vs ZerO
WardiTV Winter Champion…
2 days
Classic vs Nicoract
herO vs YoungYakov
ByuN vs Gerald
Clem vs Krystianer
Replay Cast
3 days
[ Show More ]
CranKy Ducklings
3 days
WardiTV Winter Champion…
3 days
MaxPax vs Spirit
Bunny vs Rogue
Cure vs SHIN
Solar vs Zoun
Replay Cast
4 days
Sparkling Tuna Cup
4 days
WardiTV Winter Champion…
4 days
Replay Cast
5 days
Replay Cast
5 days
Monday Night Weeklies
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-03-02
PiG Sty Festival 7.0
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.