|
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
|
i have the same problem, any help would be nice
|
|
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.
|
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
|
the only thing i have a problem with is the play/stop/next/back buttons
anyone know the fixes for any of these?
|
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)
|
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/
|
For winamp. preferences-> global settings-> check both-> reassign to a macro you'll never use. -> reassign your keyboard macro to said macro. profit.
|
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.
|
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
|
|
|
|