Jump to content

Quick question (I hope)...


Recommended Posts

Can AutoIt flip the cursor from the arrow to the hourglass and back again? I've been wandering though the Help file, the Auto3Lib includes, and this website, looking for examples.

Have you looked at GuiSetCursor and GuiCtrlSetCursor in the help?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

I couldn't get it to work. This is what I put in the script:

CODE

Func Locate_Control_On_Window($sWndTitle, $sCTitle)

; Focus on the requested panel...

WinWait($sWndTitle, "")

WinActivate($sWndTitle, "")

;Define a full-size transparent window, so that the wait cursor can be employed during this operation...

$gui = GUICreate ("", @DesktopWidth, @DesktopHeight, 0, 0 , "", $WS_EX_TRANSPARENT)

Local $nArrowCursor = "2"

Local $nWaitCursor = "15"

GUISetCursor ($nWaitCursor, 1, $gui)

[......imbedded logic......]

; Restore the normal arrow cursor and delete the full-size transparent window...

GUISetCursor ($nArrowCursor, 1, $gui)

GUIDelete ($gui)

Return $aCCInfo

EndFunc

Am I missing something here? :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...