KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Vocola 2, Windows 10, solution to mouse position scaling?
Topic Summary:
Created On: 12/16/2020 12:15 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Vocola 2, Windows 10, solution to mouse position scaling?   - BigTech - 12/16/2020 12:15 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - Lunis Orcutt - 12/16/2020 01:52 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - mdl - 12/21/2020 02:33 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - BigTech - 12/22/2020 06:32 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - BigTech - 12/22/2020 06:55 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - alexander - 12/23/2020 07:53 PM  
 Vocola 2, Windows 10, solution to mouse position scaling?   - mdl - 12/27/2020 08:53 PM  
Keyword
 12/16/2020 12:15 PM
User is offline View Users Profile Print this message


BigTech
Power Member

Posts: 74
Joined: 11/25/2008

Every once in a while, depending on the program window, the mouse position does not correspond to the given coordinates. Is there a way to nuke that problem once and for all programs?

Thanks.

 12/16/2020 01:52 PM
User is offline View Users Profile Print this message

Author Icon
Lunis Orcutt
Top-Tier Member

Posts: 38502
Joined: 10/01/2006

You will probably need to change your Windows Display Settings to a compatible size

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

Forum Mission Statement
Trial Downloads
Dragon/Sales@KnowBrainer.com 
(615) 884-4558 ext 1

 12/21/2020 02:33 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 832
Joined: 04/18/2009

we are going to need more info if you want any real help. What are you doing to move the mouse and when does it not work?
 12/22/2020 06:32 PM
User is offline View Users Profile Print this message


BigTech
Power Member

Posts: 74
Joined: 11/25/2008

Hey Mark! I think Lunis is mostly correct. But that kind of dumps on people who need larger print systemwide. I have corrected the problem from time to time using each specific program's Windows Compatibility > DPI Settings. It's a hassle to do that every time, but the problem comes up rarely.

My monitor is extremely high resolution. It could probably be set at a lower resolution to get larger fonts and stuff. That might allow using only 100% scaling, to be compatible with everything. Maybe someday.
 12/22/2020 06:55 PM
User is offline View Users Profile Print this message


BigTech
Power Member

Posts: 74
Joined: 11/25/2008

To be more specific.

I'm just recording the window position with my C++ systemwide macro recorder and then on playback using...

SetMousePosition(0,x,y)

Apparently simply adjusting a program's settings works...

Properties > Compatibility > Change high DPI settings > High DPI scaling override > Override high DPI scaling behavior > Application

I'm probably being greedy to ask for an easier solution.

Thanks.

 

 12/23/2020 07:53 PM
User is offline View Users Profile Print this message

Author Icon
alexander
Advanced Member

Posts: 169
Joined: 07/31/2016

you could probably write a query the dpi for the active application and make adjustments accordingly. But I'm not sure that falls under your "easier solution" descriptor.
 12/27/2020 08:53 PM
User is offline View Users Profile Print this message


mdl
Top-Tier Member

Posts: 832
Joined: 04/18/2009

you can use SetMousePosition (https://www.nuance.com/products/help/dragon/dragon-for-pc/scriptref/Content/scrptref/setmouseposition.htm) relative to the top left corner of the active window; if you keep the DPI of the application constant, that might work

alternatively, I wrote an extension that gets the size of the current window and uses percentages of that to do the clicking; should work no matter the resolution as long as the position doesn't need to be too high
Statistics
31938 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 397 guests browsing this forum, which makes a total of 397 users using this forum.

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