Positioning windows up and down rather than left and right

Hi there,
I have a LG Dualup monitor that has a 16:18 aspect ratio. It basically acts as 2X 21 inch monitors on top of each other. How would I write a command that replicates “Place window left (and right)” but changes it to “place window up (and down)” so the focused window is placed on the top or bottom half of the screen? 1 to 2 122 100 to 2

I emailed you a positioncmds.xml command file that includes the
place window top and place window bottom commands.

If you were to edit a commands file, you can find them in:
C:\Users\info\AppData\Roaming\VoiceTeach\VoiceComputer\Commands\Custom

(Note: ALWAYS use an xml editor to edit these files to make certain that there are no syntax errors since VoiceComputer will not open if there’re errors in the command files.)

An example:

Here’s the existing place window left commmand in the positioncmds.xml command file:







and here are the new commands:

  <command type="vp-script">
    <name>
      <![CDATA[place window top]]>
    </name>
    <actions>
      <place align="topleft" resizeRatioX="1/1" resizeRatioY="1/2" stayopen="true"/>
    </actions>
  </command>
  <command type="vp-script">
    <name>
      <![CDATA[place window bottom]]>
    </name>
    <actions>
      <place align="lowerleft" resizeRatioX="1/1" resizeRatioY="1/2" stayopen="true"/>
    </actions>
  </command>

After you edit and test the file, make sure to copy the commands file over the existing file in C:\Program Files (x86)\VoiceTeach\VoiceComputer\help\VC_Files\Custom_files.
(The Custom_files location is the repository for all our command files.)