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

Save Overlay Location?

Started by Daniel, January 30, 2020, 05:38:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daniel

Is there any way to set or save where the overlay appears when starting VoxCommando? Every single time I have to drag it back over to the corner because it always launches in a dumb spot.

Also, is there a way of combating the problem of audio from speakers activating VC? Whenever I am using speakers instead of headphones, Vox is constantly being activated by audio. Right now I have it where if the speakers are my  playback device, VC switches to standby.

Aniv_D

you can use the event VC.Loaded and the action OSD.PositionOverlay

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.4-->
<command id="384" name="Overlay" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>OSD.PositionOverlay</cmdType>
    <params>
      <param>20,20</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>VC.Loaded</event>
</command>

Daniel

Awesome! I was looking for something like OSD.PositionOverlay but I didn't know where it would be. I was looking in Win.Set.Position but I didn't know how to specify the Overlay and not the window. Thank you.