• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:49
CET 01:49
KST 09:49
  • 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
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down23ISSL (IntoTheTV x SOOP SC2 League): Premier7Weekly Cups (October 12-18): 5.0.17 era begins1
StarCraft 2
General
[D] Hacker peak in sc2 ? No more SC2 streamers on team liquid? Liquibets sc2 season 30 Evil Geniuses - shutting down Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win
Tourneys
SC4ALL: II Venue Change Announcement! Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps Starcraft 2 Advance [D] the control group Simple Questions/Answers
External Content
Mutation # 550 Graveyard Shift The PondCast: SC2 News & Results Mutation # 549 Endless Sparkles Mutation # 548 Shining Bright
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Rollback Netcode in Brood War SC4ALL: II Venue Change Announcement! Ziemie's Starcraft 1 Prequel Campaign 🇺🇦 Ukrainian StarCraft:BroodWar community reborn
Tourneys
[$1250] International ShieldBattery League [Megathread] Daily Proleagues Small VOD Thread 2.0 KCM Race Survival 2026 Season 4
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Deus Ex 3!? Mobile Legends: Bang Bang Armies of Exigo - YesYes?
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Dating: How's your luck? Trading/Investing Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 14697 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
PSISTORM Gaming Misc
09:00
FSL season 12 opener: HM vs ST
Freeedom72
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SpeCial 35
StarCraft: Brood War
Britney 6617
ProTech8
Dota 2
PGG 181
League of Legends
Doublelift4763
JimRising 766
Counter-Strike
jkaem63
taco 23
Other Games
gofns15964
summit1g8587
Day[9].tv541
shahzam391
PiGStarcraft326
C9.Mang0286
XaKoH 283
syndereN173
Maynarde79
Fuzer 59
NeuroSwarm54
ViBE53
Railgan22
PPMD21
KnowMe17
JuggernautJason3
Organizations
Other Games
gamesdonequick517
Counter-Strike
PGL80
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 88
• RyuSc2 34
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• HerbMon 43
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis3450
• Jankos3219
• Scarra771
Other Games
• imaqtpie582
• Day9tv541
• Shiphtur162
Upcoming Events
IntoTheTV X SOOP
10h 11m
Reynor vs Solar
ByuN vs SHIN
Clem vs MaxPax
herO vs Rogue
IPSL
16h 11m
WorsT vs nOmaD
Dewalt vs andersOn
AI Arena Tournament
18h 11m
IntoTheTV X SOOP
1d 10h
IPSL
1d 16h
Azhi_Dahaki vs ggnore13
Double vs WIZARD
Replay Cast
1d 22h
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Invitational
3 days
YoungYakov vs Lambo
SHIN vs TBD
Percival vs Shameless
Solar vs TBD
PiGosaur Cup
4 days
[ Show More ]
The PondCast
5 days
KCM Race Survival
5 days
WardiTV Invitational
5 days
Liquipedia Results

Completed

Proleague 2026-11-05
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

Sector 951
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Underdog Cup 2026 Div 2-3
PGL Bucharest 2027
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
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.