Author Topic: Printing Mouse Coordinates  (Read 1260 times)

LinuxDevice

  • Newbie
  • *
  • Posts: 42
Printing Mouse Coordinates
« on: July 12, 2023, 10:08:32 AM »
I am thinking of some creative scripting of mouse actions (setting up some configurations in a menu which is repetitive). Along those lines I'm thinking I'd like to create a command which prints the current mouse coordinates in the VoiceAttack GUI. Is there a simple way to do this? Nothing but printing the mouse location?

SemlerPDX

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 280
  • Upstanding Lunatic
    • My AVCS Homepage
Re: Printing Mouse Coordinates
« Reply #1 on: July 12, 2023, 10:26:55 AM »
Check out the MOUSESCREEN and MOUSEWINDOW tokens in the VoiceAttack Help Manual around page 171 (press F1 when VoiceAttack is in focus to open this manual).

You can use these as needed to output the X and/or Y value in a `Write a Value to the Event Log` action.