Jump to content

Search the Community

Showing results for tags 'mousegetcursor'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Maybe a bug or a problem on the description, but... #include <MsgBoxConstants.au3> Sleep(3000) ; Allow time for the cursor to change its state. ; Create an array of possible cursor states using StringSplit. Local $aArray = StringSplit("Hand|AppStarting|Arrow|Cross|Help|IBeam|Icon (obsolete)|No|" & _ "Size (obsolete)|SizeAll|SizeNESW|SizeNS|SizeNWSE|SizeWE|UpArrow|Wait|Empty", "|", 2) ; The flag parameter is set to flag = 2 as we don't require the total count of the array. #cs The array returned will contain the following values: $aArray[0] = "Hand" $aArray[1] = "AppStarting" $aArray[2] = "Arrow" ... $aArray[16] = "Empty" #ce Local $iCursor = MouseGetCursor() MsgBox($MB_SYSTEMMODAL, "CursorID = " & $iCursor, "Which means " & $aArray[$iCursor] & ".") ; Use the CursorID value as the index value of the array This code is the same from the MouseGerCursor help example, only I changed the sleep time (in order to allow proper time to sit the cursor to test. When I sit it over a hyperlink (which shows me a hand) it returns "16" to me, when should be returning "0", according to the help file. I didn't find something this specific in the forum history, only this https://www.autoitscript.com/forum/topic/173218-solved-guisetcursor/#comment-1253063 which doesn't say much. Tested on Win7, 8 and 10. Same thing. Help file link: https://www.autoitscript.com/autoit3/docs/functions/MouseGetCursor.htm Forgive the small fish - I - in case he is missing something obvious.
×
×
  • Create New...