![]() |
KnowBrainer Speech Recognition | ![]() |
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 |
|
![]() |
![]() |
- BigTech | - 12/16/2020 12:15 PM |
![]() |
![]() |
- Lunis Orcutt | - 12/16/2020 01:52 PM |
![]() |
![]() |
- mdl | - 12/21/2020 02:33 PM |
![]() |
![]() |
- BigTech | - 12/22/2020 06:32 PM |
![]() |
![]() |
- BigTech | - 12/22/2020 06:55 PM |
![]() |
![]() |
- alexander | - 12/23/2020 07:53 PM |
![]() |
![]() |
- mdl | - 12/27/2020 08:53 PM |
![]() |
|
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. |
|
|
|
![]() |
|
You will probably need to change your Windows Display Settings to a compatible size
------------------------- Forum Mission Statement |
|
|
|
![]() |
|
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?
|
|
|
|
![]() |
|
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. |
|
|
|
![]() |
|
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.
|
|
|
|
![]() |
|
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.
|
|
|
|
![]() |
|
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 |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.