News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

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 1 Guest 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