Author Topic: Save Overlay Location?  (Read 1803 times)

0 Members and 1 Guest are viewing this topic.

Daniel

  • Jr. Member
  • **
  • Posts: 25
  • Karma: 2
    • View Profile
Save Overlay Location?
« 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.
« Last Edit: January 30, 2020, 06:00:01 AM by Daniel »

Aniv_D

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 10
    • View Profile
Re: Save Overlay Location?
« Reply #1 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>

Daniel

  • Jr. Member
  • **
  • Posts: 25
  • Karma: 2
    • View Profile
Re: Save Overlay Location?
« Reply #2 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.