Jump to content

Recommended Posts

Posted

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.

Posted

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.
Posted

Have you looked at GuiSetCursor and GuiCtrlSetCursor in the help?

I was under the impression those were strictly for use in custom GUI's, and could not be applied to outside objects.

Posted

make a full screen Fully transparent GUI

Sounds intriguing. Being of limited experience (intelligence, too, or so I've been told...), do you have an example of code I could look at?

Posted

#include <guiconstants.au3>
$gui = GUICreate ("", @DesktopWidth, @DesktopHeight, 0, 0 , "", $WS_EX_TRANSPARENT)

Heres a full size transparent window.

Posted

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? :)

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
×
×
  • Create New...