I'm working on a script that helps me populate a text file. I was hoping to have the text select cursor change when the hotkey is active. i.e., change to something obvious or (different cursor) to show that the hotkey is active then when i exit the script, the cursor changes back. thru searching the forums i found a small script that changes the normal select cursor to a different one.
Code: Select all
f1::SetCursor(32646)
f2::RestoreCursor()
SetCursor(cursorId,replaceID=32512)
{
CursorHandle := DllCall( "LoadCursor", Uint,0, Int,cursorId)
DllCall( "SetSystemCursor", Uint, CursorHandle, Int,replaceID)
}
RestoreCursor()
{
DllCall( "SystemParametersInfo", UInt,0x57, UInt,0, UInt,0, UInt,0 )
}
thanks