News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Activate VoxCommando command through command line or desktop shortcut?

Started by Daniel, February 07, 2020, 03:39:25 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Daniel

I'll try to explain what I am trying to do. Whenever I am playing audio through my speakers, VC is constantly getting activated by the speaker audio. I combat this by putting VC into standby mode whenever I switch to speakers from headphones. Right now I have the watcher plugin monitoring a folder that has a file change whenever default audio is changed. However, the watcher is so unreliable, half the time it catches the change and half the time it doesn't. Another inconsistent solution I had was to trigger on the event "Focused.mshta" but that didn't always work either because I would click away from the popup message before VC caught the Focus.mshta. Is there any way I can write a VC command into a batch file or something that will activate VC.Standby/VC.On? Or can VC monitor default audio device and change accordingly? I am just looking for a method that reliably works.

Edit:

I am dumb for not searching before posting. My answer seems to be right here...
https://voxcommando.com/mediawiki/index.php?title=Command_line
I couldn't remove my post so I thought I would at least post my answer