How to toggle W10 Mouse Pointer size and style (control panel)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
need4speed
Posts: 143
Joined: 22 Apr 2016, 06:50

How to toggle W10 Mouse Pointer size and style (control panel)

20 Oct 2020, 20:28

I added custom mouse cursors and saved a scheme in the Mouse Properties Windows, I use this code to toggle schemes, here e.g. I set the default scheme.

Code: Select all

^F11:: ; Select Windows Default Theme
    Run %A_WinDir%\system32\control.exe main.cpl`,`,1
    ControlGet, cList, List, , ComboBox1, Mouse Properties
    Loop, Parse, cList, `n
    {
      if InStr(A_LoopField,"Windows Default (system scheme)") {
        Control, ChooseString, %A_LoopField%, ComboBox1, Mouse Properties
        break
      }
    }
    ControlClick, Button7, Mouse Properties
return    
How to achieve something similar (a function would be perfect) with the Mouse Pointers styles (white, black, inverted, custom) /size from the Win10 control panel?
These "new" Mouse Pointers look great and can be scaled without any issues. So I dream of, by pressing a hotkey the mouse pointer style, color, size changes without rebooting of course.
Maybe someone already solved this, if not @SKAN, in case you are reading this... :angel:
User avatar
mikeyww
Posts: 26881
Joined: 09 Sep 2014, 18:38

Re: How to toggle W10 Mouse Pointer size and style (control panel)

20 Oct 2020, 21:04

This is probably a bit different than what you want, but perhaps it is a step in the right direction.

https://autohotkey.com/board/topic/32608-changing-the-system-cursor/
need4speed
Posts: 143
Joined: 22 Apr 2016, 06:50

Re: How to toggle W10 Mouse Pointer size and style (control panel)

21 Oct 2020, 09:52

thanks, I knew about the link. Unfortunatelly this is not what I want to achieve.
when I have time I try to figure out where this "new" mouse icons reside and how to manipulate em.
not sure where MS is heading to, windows store, apps, tablett mode, x-box tools, cortana and a lot of more stuff I don't want/need.
Bill in case you are reading this, keep W10 for desktop computing :)
User avatar
mikeyww
Posts: 26881
Joined: 09 Sep 2014, 18:38

Re: How to toggle W10 Mouse Pointer size and style (control panel)

21 Oct 2020, 10:20

OK. I'm sure that there is a command or function for it. Others can chime in.
User avatar
SKAN
Posts: 1551
Joined: 29 Sep 2013, 16:58

Re: How to toggle W10 Mouse Pointer size and style (control panel)

23 Oct 2020, 18:20

need4speed wrote:
20 Oct 2020, 20:28
Maybe someone already solved this, if not @SKAN, in case you are reading this... :angel:
 
Yes. I read this.. and wrote this: SetCursorScheme() :)
need4speed
Posts: 143
Joined: 22 Apr 2016, 06:50

Re: How to toggle W10 Mouse Pointer size and style (control panel)

24 Oct 2020, 05:15

Thank you SKAN, you're the man! impressive like always.
I gave it a quick shot and it seems to work as expected.

While your script is very useful, I was referring to the new win10 pointer.
The color can be changed and the pointer can be scaled very big without aliasing.
Image
Due to a bug, I guess LICEcap was not able to record the actual pointer size in the video.
User avatar
SKAN
Posts: 1551
Joined: 29 Sep 2013, 16:58

Re: How to toggle W10 Mouse Pointer size and style (control panel)

24 Oct 2020, 07:10

need4speed wrote:
24 Oct 2020, 05:15
I was referring to the new win10 pointer.
The color can be changed and the pointer can be scaled very big without aliasing.
Forgive my ignorance. I'm new to Win 10.
 
need4speed wrote:
24 Oct 2020, 05:15
So I dream of, by pressing a hotkey the mouse pointer style, color, size changes without rebooting of course.
Seems not possible. I'm still investigating... Will let know if I come up with something.
chaoscreater
Posts: 60
Joined: 12 Sep 2019, 21:15

Re: How to toggle W10 Mouse Pointer size and style (control panel)

06 Aug 2021, 01:19

anyone found a solution to changing the mouse pointer size?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: dipahk, jeves, mikeyww, Nerafius, RandomBoy, zerox and 94 guests