Changing mouse pointer

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
FangLeone
Posts: 12
Joined: 31 Aug 2018, 15:40

Changing mouse pointer

10 Sep 2018, 20:12

So i used some of the archived forums code to throw this together but i dont know how to change it so it works with hovering over text Excuse me if this is completely obvious im pretty new to scripting all together.

Code: Select all

Cursor = %A_ScriptDir%\Downloads\CursorPng.cur
CursorHandle := DllCall( "LoadCursorFromFile", Str,Cursor )
Cursors = 32512,32513,32514,32515,32516,32640,32641,32642,32643,32644,32645,32646,32648,32649,32650,32651
Loop, Parse, Cursors, `,
{
	DllCall( "SetSystemCursor", Uint,CursorHandle, Int,A_Loopfield )
}
MsgBox 199
SPI_SETCURSORS := 0x57
DllCall( "SystemParametersInfo", UInt,SPI_SETCURSORS, UInt,0, UInt,0, UInt,0 ) ; Reload the system cursors
return
gui,show
Any fixes?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jollyjoe and 324 guests