Help - Search - Members - Calendar
Full Version: Enumerating all menu_items?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
FrozenSpoon
Is it possible to some how enumerate all menu_items registered with foobar? Or is there some way I can obtain the list of allowable keyboard shortcut identifiers (Playback/Random, Playlist/Clear, etc)? I've chewed on this for a while and haven't produced anything that has worked. Thanks for any suggestions!
Andreasvb
In Preferences > Core > Keyboard Shortcuts, you have all listed actions you can use with a hotkey.
FrozenSpoon
Thing is, components can add their own to this list. I was wondering if there was a way for a plugin to get this information at runtime. Keyboard shortcuts are based off of menu_items, so if there was some way I could enumerate all menu_items, that would work too.
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.