KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Help with writing commands calling MousePosition on multiple monitors?
Topic Summary:
Created On: 11/10/2021 05:48 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Keyword
 11/10/2021 05:48 PM
User is offline View Users Profile Print this message

Author Icon
avkatz
New Member

Posts: 11
Joined: 01/05/2018

I have a set of commands that allow me to mechanize various editing commands in a PDF editing program, and that are based on moving the mouse to a particular location on the screen.  For example, if I wish to change the color of the highlighter pen to yellow, I need to click on a  particular spot on the screen.     But the coordinates of this spot are different depending upon which computer monitor I happen to be using.

Is it possible for me to create a variable consisting of an ordered triple that would depend on which computer or monitor I'm using.  For example, it could be called YellowMousePosition, and its content would differ depending upon the monitor.  And then I could just set the mouse position by saying something like "SetMousePosition YellowMousePosition".

This is got to be possible, right?  Or is there a more straightforward solution that just scales all mouse position calls depending upon the monitor, so I don't have to create YellowMousePosition, BlueMousePosition, etc.?

Thanks, Avery

 



-------------------------

Avery 

Statistics
32358 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 375 guests browsing this forum, which makes a total of 376 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.