Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Switching pointer trail on and off



  • Please log in to reply
2 replies to this topic
suvson
  • Members
  • 2 posts
  • Last active: Oct 25 2015 10:30 AM
  • Joined: 24 Oct 2015

Hello, i have a glitch with old monitor in portrait mode... i had to enable pointer trail in mouse settings to get normal behaviour of mouse. But in most fullscreen application I cant see the mouse now until i switch it off.

Now i need some script to disable and enable that tickbox in settings. It can be in 2 separate scripts - switch on and off.

If its not possible, please help me with script to open mouse settings.



space
  • Members
  • 520 posts
  • Last active:
  • Joined: 12 Aug 2014
✓  Best Answer
This works for me, winkey-F12 toggles mouse trail on and off.
#SingleInstance, force

SETMOUSETRAILS:=0x005D
GETMOUSETRAILS:=0x005E

#F12::
DllCall("SystemParametersInfo", UInt, GETMOUSETRAILS, UInt, 0, UIntP, nTrail, UInt, 0)
If (nTrail = 0)
	value:=7
else
	value:=0	
DllCall("SystemParametersInfo", UInt, SETMOUSETRAILS, UInt, value, Str, 0, UInt, 0)
Return
ht: https://github.com/h...rosch/AHK_Windywhere I found the get/set mousetrail code in mousy.ahk

suvson
  • Members
  • 2 posts
  • Last active: Oct 25 2015 10:30 AM
  • Joined: 24 Oct 2015

Ty very much:) it really helps