VoxCommando

Help and Support (Using VoxCommando) => Tutorials => Topic started by: Daniel on January 30, 2020, 05:38:38 AM

Title: Save Overlay Location?
Post by: Daniel on January 30, 2020, 05:38:38 AM
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.
Title: Re: Save Overlay Location?
Post by: Aniv_D on January 30, 2020, 07:28:13 AM
you can use the event VC.Loaded and the action OSD.PositionOverlay

Code: [Select]
<?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>
Title: Re: Save Overlay Location?
Post by: Daniel on January 30, 2020, 08:03:41 AM
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.