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: newbie question: foobar control from java (Read 2847 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

newbie question: foobar control from java

I'm hoping to write a progem in java to allow me to control fb2k. Is this possible? I have a java package to allow me to use Windows hooks, I have been hoping to use that?

Regards

 

newbie question: foobar control from java

Reply #1
Sure is. However, I'd advise against using hooks or sending messages directly to the foobar window (as you might do in Winamp).

Generally the best way to communicate with foobar is to write a component that talks to your app through some agreed protocol. The next best way after that would be to just use foobar's commandline parameter support (try "foobar2000.exe /help" for details).

I think fb2k also supports a few DDE commands as well - if you're into that kind of thing.