WaitCursorIdle

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
ferque6
Junior Coder
Posts: 20
Joined: Tue Feb 01, 2005 9:21 am

WaitCursorIdle

Post by ferque6 » Wed May 18, 2005 6:40 am

There is a command named WaitCursorChanged

But I need something like "WaitCursorIdle", ie, a command that make the macro wait till the cursor become idle.

"WaitCursorChanged" does not work because when the cursor is already idle, it stop the macro.

I need "WaitCursorIdle". Whit this, if the cursor is already idle, the macro goes on. If the cursor is not idle, the macro wait.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed May 18, 2005 6:48 am

How do you define an idle cursor? Have you tried this:
http://www.mjtnet.com/forum/viewtopic.p ... light=idle
MJT Net Support
[email protected]

ferque6
Junior Coder
Posts: 20
Joined: Tue Feb 01, 2005 9:21 am

Post by ferque6 » Wed May 18, 2005 10:58 pm

I define "cursor idel" a cursor that is not a hourglass

ferque6
Junior Coder
Posts: 20
Joined: Tue Feb 01, 2005 9:21 am

Post by ferque6 » Sun May 22, 2005 5:15 pm

Maybe we need also a GetCursorStatus

Ie, a command to know if the cursor is a hourglass or not

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun May 22, 2005 5:26 pm

You can also look at using WaitReady>1 to allow some processes to complete before continuing.

Before using Mouse Move and/or Send> commands, I frequently use

WaitWindowOpen>WindowTitle*
SetFocus>WindowTitle*
WaitReady>1
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

ferque6
Junior Coder
Posts: 20
Joined: Tue Feb 01, 2005 9:21 am

Post by ferque6 » Wed May 25, 2005 7:19 am

I think WaitReady does not work properly.
We need WaitCursorIdle (idle mean not a hourglass)

ferque6
Junior Coder
Posts: 20
Joined: Tue Feb 01, 2005 9:21 am

Post by ferque6 » Wed Jun 22, 2005 8:01 am

I go on thinking "WaitCursorIdle" should be a very important feature

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts