Toggle Mouse Pointer Transparency

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
javelin69
Posts: 49
Joined: 07 Mar 2020, 05:45

Toggle Mouse Pointer Transparency

Post by javelin69 » 20 Mar 2024, 08:26

I was wondering if it is possible to toggle mouse pointer transparency without having to download/create a transparent cursor and then select it through the Windows control panel. If anyone has knowledge of such Wizardry, I would be very grateful if you could point me in the right direction.

I have followed a lot of dead leads with no luck. Was hoping someone may have knowledge of a command line app that can do this. The I could then write a script to run the app with the desired settings.

Essentially I want to hide a series of mouse movements sent from ahk from the user.

User avatar
lmstearn
Posts: 695
Joined: 11 Aug 2016, 02:32
Contact:

Re: Toggle Mouse Pointer Transparency

Post by lmstearn » 22 Mar 2024, 00:07

Hi, changing the mouse cursor from a transparent cursor image file you have created might be the best approach, there is also SetSystemCursor and RestoreCursor for effects on all cursors, in the LoadImage function try:

Code: Select all

LR_LOADTRANSPARENT := 0x00000020
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Post Reply

Return to “Ask for Help (v1)”