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: Volume control command line? (Read 2329 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Volume control command line?

I am working on a project which involves controlling foobar2000 with command line interface, such as: !"C:\Program Files (x86)\foobar2000\foobar2000.exe" /command:Play.

I discovered that the command for volume up is supposed to be: !"C:\Program Files (x86)\foobar2000\foobar2000.exe" /command:"Volume up", but it is not working. The script runs without errors, but there is no noticeable change in volume. Is there a different command to control volume? Or does different syntax have to be used?

Volume control command line?

Reply #1

The command path is [ Playback / Volume / Up ] , so I think one problem is you combined "Volume" and "Up".

This works for me :: foobar2000.exe "/command:Up"


Volume control command line?

Reply #2
is there a way to send the same command without ever launching the executable?
p.e. using SendMessage? other that a SendKey.

Volume control command line?

Reply #3
Develop a component that uses some form of IPC with the outside client?

 

Volume control command line?

Reply #4
The command path is [ Playback / Volume / Up ] , so I think one problem is you combined "Volume" and "Up".

This works for me :: foobar2000.exe "/command:Up"


Thanks! That worked perfectly.