Zeca Posted January 30, 2008 Share Posted January 30, 2008 Hi, I need help. I have a script that changes the contents of list in a XWindows appl and then clicks a button "Verify" to make a verification. This verification takes some time. How can I know when this verification ends, when the hourglass quits ? I tried WinWaitActive unsuccessfully. I appreciate any help,regards Jose Link to comment Share on other sites More sharing options...
martin Posted January 30, 2008 Share Posted January 30, 2008 Hi, I need help. I have a script that changes the contents of list in a XWindows appl and then clicks a button "Verify" to make a verification.This verification takes some time. How can I know when this verification ends, when the hourglass quits ?I tried WinWaitActive unsuccessfully.I appreciate any help,regardsJoseIf the hour glass cursor is a reliable indication then it sounds like a possibility. Use MouseGetCursor(), and make sure the window is active, at the top and the cursor is over it obviously.If the validation doesn't start for some reason you will need a time out waiting for the hourglass. 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 More sharing options...
Zedna Posted January 30, 2008 Share Posted January 30, 2008 (edited) Try: If MouseGetCursor ( ) = 0 Then ... EDIT: as constant try also another values then 0 Edited January 30, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zeca Posted January 30, 2008 Author Share Posted January 30, 2008 It worked. Txns to both of you, Martin and Zedna. Best regards Jose Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now