Help - Search - Members - Calendar
Full Version: Microsoft Multimedia Keyboard
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Pavel S
Hey everybody. I am a complete newbie to foobar I started using it today, however, I am definately not a newbie in computers. The reason I started using foobar is that I had Winamp 5.24 with a cue player plug in. I installed Winamp 5.25 and cue player plug in kinda broke. So I heard foobar plays those cues and yes it did so I am very happy with that.

So here's the problem. When I used winamp I went into preferences and set so that it will use global hot keys and that made my top buttons on Multimedia Keyboard actually work with winamp. In foobar I didn't really have to do anything to make them work they just work which again I am very happy of. However, when I close foobar to tray while it plays and I press the button it will not do anything. Only when active window of foobar is open thats when it will work. I dont think that was the case with winamp I am not sure actually.

So is there anyway to make it so that even when I close foobar to tray, the top keys on the keyboard will control the playlist.
gfngfgf
Check foobar2000 preferences, under "General -> Keyboard shortcuts". See if there are any entries that end with "(MM)" (e.g. "Play (MM)", "Stop (MM)", etc.). If so, select each of those entries and then check the box "Global Hotkey".

If there are no "(MM)" entries, you could create your own shortcuts. This assumes that foobar2000 recognizes your multimedia keys when you press them on the Keyboard Shortcuts page.
Pavel S
QUOTE(gfngfgf @ Aug 2 2006, 01:59) *

Check foobar2000 preferences, under "General -> Keyboard shortcuts". See if there are any entries that end with "(MM)" (e.g. "Play (MM)", "Stop (MM)", etc.). If so, select each of those entries and then check the box "Global Hotkey".

If there are no "(MM)" entries, you could create your own shortcuts. This assumes that foobar2000 recognizes your multimedia keys when you press them on the Keyboard Shortcuts page.

See I dont really know what makes it recognize is it the fact that I allready have software installed for the keyboard? Cuz when I go to keys and I press those buttons it doesn't put in any key there. So maybe I should try uninstall the software...um also there are no MM's.
Pavel S
Ok yessss. I figured it out. Basically yes the whole idea was that intellitype pro 5.5 software intercepts keys. I don't think you can actually just disable intellitype pro from task manager there is no type32.exe to disable so maybe its something else and I am talking about intellitype pro version 5.5. Anyway so yeah if anybody still wants to know here's what you do. You have to uninstall intellitype pro, thats the sane way lol. Then just like was mentioned before you go into preference and keyboard shortucts and just add/edit the commands you want but now you can actually press those multimedia buttons and it will recognize and put MM there. So thats good and just check yes to Global. After you're all done just install back intellitype pro and you're all set. Easy!!!!.
Lodgikal
QUOTE(Pavel S @ Aug 3 2006, 02:27) *

I don't think you can actually just disable intellitype pro from task manager there is no type32.exe to disable so maybe its something else and I am talking about intellitype pro version 5.5.

I know this hint is too late, but anyway: The process is called itype.exe as of IntelliType Pro v5.5. No need to uninstall IntelliType, just kill that process in task manager and proceed like described above. To reactivate IntelliType software just relaunch itype.exe.

You should also disable the Multimedia keys in IntelliType's control panel, IIRC they're assigned to WMP by default.
Pavel S
Ok maybe you're right. But there's actually a problem that I found yesterday again. When the foobar is minimized to taskbar and you would press those multemedia keys everything works fine. But when the foobar is open and I tried doing next on a song it would spit it out a message box and an error message. So I am definately not happy about that.
So if anyone knows whats up with that please tell.
gfngfgf
What's the error message?
Pavel S
Ok first message it actually says its a warning
metadb_handle leaks: 1 object

and then this one is actually an error:
Unhandled exception: playback control recursion
gfngfgf
regarding the metadb_handle leak, usually the only way to diagnose which component is causing that error is to just go through your component folder and rename one of the .dll files to .dll.bak or similar, start foobar2000, then close and see if you get the metadb_handle leak. If not, try renaming another component and starting foobar2000, etc., until you find which component caused the error message.

I have no clue about the second error message, but you could use a similar method as I described above to test which component is causing it.
dmber
i got mine.

it wouldn't recognize my "MM" keys, but none of the processes mentioned were running. so i went C/program files/intellitype/ and i double clicked type32.exe -- starting the process. then i went into the task manager and ended the process. then foobar recognized my MM keys.

big bonus!
tijuana
Hi! I came up with this quick and dirty trick when I was trying to associate the "my music" key to the jumpto function in winamp and the "multimedia" key to the media library.

Here's what I did:

1. activated global hotkeys
2. Created a script to simulate the pressing of the key combination (for jumpto, this would be right-alt+j)
3. saved the script in my winamp folder
4. set intellitype to execute that script when I pressed "My music"

The same can be applied to foobar, just setup the keys as if you were using a plain old keyboard, set them to global, and then modify the following script to fit the key combinations you set:

CODE
set ws = CreateObject("WScript.Shell")
ws.SendKeys "^(%(j))"


ok, here's the description for the above code:

ws is the windows scripting host object

The sendkeys method sends a single key or key combination to the OS

if, for example, you wanted to send the letter a, the syntax would be: ws.SendKeys "a"
To send a key combination you must enclose the second to nth key in a separate parenthesis. That means that if you want to send the letters abc, as if you had typed them together at the same time, the syntax would be:
CODE
ws.SendKeys "a(b(c))"


Note: it doesn't matter the order in which you write the keys down, as they are all sent together.

now for the special characters:

^ = control
% = alt

So, the script shown above sends control+alt+j to the system, which was the global key assigned to my jumpto in winamp.

so copy and paste this in notepad, make the necessary modifications in the script and in foobar, and save it with a .vbs extension. Intellitype should be able to run it no problem

For a complete syntax of the sendkeys command go to http://msdn2.microsoft.com/en-us/library/8c6yea83.aspx

Hope it works smile.gif

Greetz!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.