Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Enumerating all menu_items? (Read 2833 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Enumerating all menu_items?

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!

Enumerating all menu_items?

Reply #1
In Preferences > Core > Keyboard Shortcuts, you have all listed actions you can use with a hotkey.
Windows 10 Pro x64 // foobar2000 1.3.10

Enumerating all menu_items?

Reply #2
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.