Author Topic: Drag and Drop command  (Read 2017 times)

jaus

  • Newbie
  • *
  • Posts: 7
Drag and Drop command
« on: February 25, 2020, 12:43:22 PM »
I've been trying to work on a command that will drag a map view left/right/up/down...

I set up a macro that :

depresses the left mouse button
.2 delay
moves the mouse about 2" on the screen
.2 delay
release left mouse button

The spoken command is recognized by VA, but I see no map motion in-game.   What am I doing wrong?


Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Drag and Drop command
« Reply #1 on: February 25, 2020, 12:56:42 PM »
How are you moving the mouse cursor? Many games only register relative movement, so you'll want to try checking the "Move using relative data (useful for 3D games)" option in the mouse move action.


As an aside, you can right-click the action list and choose "Copy All as Text", so you can paste the contents of your command here.

jaus

  • Newbie
  • *
  • Posts: 7
Re: Drag and Drop command
« Reply #2 on: February 26, 2020, 05:02:24 PM »
Here is the actual command:

Hold left mouse button down
Move mouse up [20] pixel(s) (from cursor position)
Release left mouse button