Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got an ASUS K50AF series notebook with Windows 7 Home Premium x64. I'm using VLC, and I want to use media keys (play, pause, rewind, forward, stop) with it. Currently, it's associated with Windows Media Center.

My keyboard

I've tried MK2MP. Unfortunately, it didn't fix my problem, and crashed after restarting VLC.

Run time error 31
at line 559

Now, I can't even start MK2MP. Any ideas?


Update: I've disabled Media Center and Media Player. HIP now recognizes media keys, but the keys still don't do anything. :/

Update 2: It seems that when I try capturing that key, all programs (including HIP, Key Mapper and AutoHotkey) thinks I pressed the H key. Huh?

share|improve this question
    
Is there some kind of keyboard control panel by the manufacturer that lets you customize what each key does? –  Sasha Chedygov Feb 1 '11 at 0:05
    
No, I haven't found anything like that. –  nyuszika7h Feb 1 '11 at 12:07
add comment

7 Answers

Before you set the VLC hotkeys, you need to set VLC as your default media player, in control panel, default programs, set your default programs, and choose VLC as default.

The global hotkeys should then work with VLC, you still have to set them in VLC - tools, preferences, hotkeys, double click on the global key you want to set, VLC will prompt you to press the key, and restart VLC afterwards so they become active.

share|improve this answer
add comment

GO to General > Hotkeys in Preferences and try to bind your media keys

share|improve this answer
1  
I've tried that, but VLC won't recgonize them. –  nyuszika7h Jan 24 '11 at 12:05
    
@Nyuszika7H : do the bindings work with any other keys ? –  Shakehar Jan 24 '11 at 12:11
1  
Yes, they work with other keys, but not with media keys (when I press them, Media Center starts if it isn't started). –  nyuszika7h Jan 24 '11 at 12:26
1  
Its obvious that your media keys are bound to media center , find a way to dissociate your keys from media center and it might work –  Shakehar Jan 24 '11 at 12:30
    
Thank you, it helped! ;) –  user398797 Sep 17 '13 at 5:59
add comment

You could set up macros in Event Ghost to capture the keys and set them up to trigger the actions that you want.

share|improve this answer
    
I can't see where can I add my media keyboard's Play button (or any other key) in this program. –  nyuszika7h Feb 5 '11 at 22:18
    
@Nyuszika7H: I see several Google results report this, try figuring it out... +1 –  Tom Wijsman Feb 6 '11 at 14:22
add comment

You might be able to use this article to disable the multimedia keys in Windows :
Disable windows multimedia key shortcuts.

It counsels deleting entries from the registry key of :
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey,
so it is advised to first take some precautions.

To a lesser degree, you might also find this article useful :
How to Disable or Enable Windows Hotkeys in Vista,
although it may not apply to your case.

share|improve this answer
    
I've tried HIP, but unfortunately, it didn't work. :( –  nyuszika7h Feb 1 '11 at 7:56
    
Have you tried the registry method? –  harrymc Feb 1 '11 at 8:12
    
Hmm. .cda files are associated with VLC. So, what next? –  nyuszika7h Feb 3 '11 at 10:44
    
Sorry for being unclear. In my first link I was referring to searching HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey to maybe find out if the associations for the multimedia keys are defined there. –  harrymc Feb 3 '11 at 11:00
    
I know, I've read that article. I've tried deleting all, but nothing changed. Trying out other solutions. –  nyuszika7h Feb 3 '11 at 11:08
add comment
up vote 1 down vote accepted

It seems that I can't assign media keys to other actions, even though they aren't associated to anything right now. I've removed ATK Media – which came with my laptop –, too. :/ Sending a feedback to VideoLAN, maybe later versions of VLC will be able to capture these keys.

share|improve this answer
    
Did you ever end up figuring this out? I'm in the same situation. –  Max Cantor Oct 3 '11 at 23:26
    
@Max I don't use Windows on my laptop anymore, it runs Arch Linux, and I'm used to the command line, I use cvlc or nvlc usually. Maybe I'll install Windows in VirtualBox in case I need it for something someday. –  nyuszika7h Oct 4 '11 at 16:25
    
I also recommend mpd/mpc as a fine command line music player. (easy to script, too) –  Max Cantor Oct 4 '11 at 16:34
add comment

If you have Microsoft IntelliType installed (it happens automatically for certain keyboards), try un-installing it via "Add or Remove Programs".

Via http://forum.videolan.org/viewtopic.php?f=14&t=79605

share|improve this answer
    
thanks for trying to help, but I'm sure I didn't have it installed (I don't use Windows anymore). –  nyuszika7h Oct 4 '11 at 16:28
add comment

Those of you who have still not found a solution try the following:

  1. Click Tools and select Preferences

  2. From the left hand side select Hotkeys

  3. You will now be prompted to select an action and associate it with a hotkey. Scroll down until you find the action Next and then double-click on it

  4. You should now be prompted to enter your media key for "Next Track"

  5. Click [Apply]

Once you do these five steps try playing a music/video file and testing ALL of your media keys as they should automatically work now.

share|improve this answer
    
On my Logietch MK700 keyboard, this does not work. VLC does not "see" the play/pause/fastforward/rewind buttons when pressed. –  dan_linder Jun 7 '13 at 20:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.