The Voice Computer Forum visit our website at www.voicecomputer.com

Forum Home Forum Home > Speech Recognition > VoiceComputer
  New Posts New Posts RSS Feed - how to move/edit multiple overlay tags at the same
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to move/edit multiple overlay tags at the same

 Post Reply Post Reply
Author
Message
thetrad9 View Drop Down
Groupie
Groupie


Joined: 21 Oct 2015
Points: 55
Post Options Post Options   Thanks (0) Thanks(0)   Quote thetrad9 Quote  Post ReplyReply Direct Link To This Post Topic: how to move/edit multiple overlay tags at the same
    Posted: 10 Apr 2018 at 12:50am

hello Ron,

is there a way to edit/move multiple overlay values at the same time? I created an overlay set with about 40 tags. For some strange reason today, all my tags seem to be off centre. They’ve all moved 2 or 3 pixels up. This happens not just for my chrome overlays, but for other programs overlays as well.
Thanks
Back to Top
RonK View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 07 Jan 2010
Points: 802
Post Options Post Options   Thanks (0) Thanks(0)   Quote RonK Quote  Post ReplyReply Direct Link To This Post Posted: 10 Apr 2018 at 7:44am
> is there a way to edit/move multiple overlay values at the same time?

Yes, you can edit the CustomOverlays.xml (the overlays configuration file which is located in the C:\ProgramData\VoiceTeach\VoiceComputer directory). 

Editing the CustomOverlays.xml is easy the second time you edit it. The first time, not so much.



1. Make several backups of the CustomOverlays.xml 

2. Open the file, get familiar with its structure and try to identify the points that need to be edited.  (Open an overlay and match the points in the file with the points on the screen.)

3. Close Dragon / VoiceComputer! (You can't edit the file with VoiceComputer open.)

3. Make a couple of backups of the file.  Edit a few of the points in an overlay and overwrite the  CustomOverlays.xml file. Open VoiceComputer and open the overlay you edited to see whether your changes worked the way as planned.

4.  Close VoiceComputer/ Dragon. Make the edits you need in one of the backups and then overwrite the CustomOverlays.xml file. You probably will just need to edit the x or the y values.

An as example, I made a quick overlay for Adobe Acrobat Reader DC (below).

The WindowID in the overlay is AcroRd32, which is Reader's executable.

As you can see, I made an overlay with 4 points for a menu. 
Number 1, Number 2 ...

The Y value of each of the points is different. (110, 108, 112, and 107)

I can make the 4 points line up vertically by changing all the Y values to 107.
You can do something similar with your overlay.

Let me know if you have any questions!




<?xml version="1.0" encoding="utf-8"?>
<Overlays xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AllOverlays>
    <Overlay>
      <WindowID>AcroRd32</WindowID>
      <Number>1</Number>
      <Points>
        <UIPoint>
          <Number>1</Number>
          <Point>
            <X>161</X>
            <Y>110</Y>
          </Point>
        </UIPoint>
        <UIPoint>
          <Number>2</Number>
          <Point>
            <X>204</X>
            <Y>108</Y>
          </Point>
        </UIPoint>
        <UIPoint>
          <Number>3</Number>
          <Point>
            <X>267</X>
            <Y>112</Y>
          </Point>
        </UIPoint>
        <UIPoint>
          <Number>4</Number>
          <Point>
            <X>296</X>
            <Y>107</Y>
          </Point>
        </UIPoint>
      </Points>
      <Top>7</Top>
      <Left>241</Left>
      <Width>1152</Width>
      <Height>1010</Height>
    </Overlay>
  </AllOverlays>
  <OverlaysWithTheseIDsShouldAlsoUseWindowTitle />
</Overlays>
Ron

VoiceComputer Developer
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

This page was generated in 0.109 seconds.