![]() MsgBox Error Level: %ErrorLevel% `nLast error: %A_LastError%`nresult: %result% Result := DllCall("SystemParametersInfo", "UInt", SPI_SETCURSORS, "UInt", 0, "UInt", 0, "UInt", '0') In AutoHotKey Script: SPI_SETCURSORS := 0x57 To try this out let’s go ahead and change HKCU\Control Panel\Cursors\Arrow to C:\WINDOWS\Cursors\appstar3.ani (assuming you have this icon) and then make a call to SystemParametersInfo. This is where the SystemParametersInfo call comes in. You have to tell windows to load the new cursor. You are correct, just updating a key – HKCU\Control Panel\Cursors\Arrow, for instance – isn’t enough. If you already changed the path to one of the cursor type in HKCU\Control Panel\Cursors and realized that it did not do anything. ![]() The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Schemes contains the system cursor schemes (i.e. The registry key HKEY_CURRENT_USER\Control Panel\Cursors contains the user defined cursor schemes (i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |