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: Foobar2000 classname (Read 4003 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foobar2000 classname

I know that this is not a 'development' question, but what's the classname for the FB2K window (want to use a remote program with it)?

I don't know how to read it from the SDK so I'd need some help.

Thanks in advance!

Foobar2000 classname

Reply #1
FOOBAR2000_CLASS

Foobar2000 classname

Reply #2
I believe it's FOOBAR2000_CLASS (that's what StrokeIt said while I was configuring it to work with foobar )

Damn, Moneo was faster

Foobar2000 classname

Reply #3
Thanks!

Foobar2000 classname

Reply #4
Don't rely on the class name to be the same with every UI component. Some day, there might actually be more of them.

Foobar2000 classname

Reply #5
Quote
Don't rely on the class name to be the same with every UI component. Some day, there might actually be more of them.

I only needed it for using it with a program that would enable me to use the TV tuner's remote with any application... There's no coding involved, only some proprietary script:

Code: [Select]
ForegroundApp("FOOBAR2000_CLASS")
{
    "VolumeUp"    : PressKey(VK_ADD)
    "VolumeDown"    : PressKey(VK_SUBTRACT)
    "Play"    : PressKey(VK_C)
    "Stop"    : PressKey(VK_Z)
    "Left"    : PressKey(VK_LEFT)
    "Right"    : PressKey(VK_RIGHT)
    "ChannelUp"    : PressKey(VK_N)
    "ChannelDown"    : PressKey(VK_V)
}


BTW: the proggie is called Borg Remote. Some may find it useful