WaitCursorChanged>timeout

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
Snickers
Macro Veteran
Posts: 150
Joined: Thu Dec 09, 2004 3:01 pm
Location: Somewhere in TX

WaitCursorChanged>timeout

Post by Snickers » Mon Aug 20, 2007 2:08 pm

The WaitCursorChanged timeout does not function as specified in the help file.

The help file states that if you set the WaitCursorChanged timeout to 0, it will wait indefinitely; however, if you set the WaitCursorChanged timeout to any value less than 1, it will timeout indefinitely.

For example: the following codes, but not limited to the following codes, will cause the WaitCursorChanged> command to wait indefinitely:

WaitCursorChanged>0
WaitCursorChanged>.99
WaitCursorChanged>.5
WaitCursorChanged>.25

Any decimal value causes WaitCursorChanged to timeout indefinitely.

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Mon Aug 20, 2007 2:18 pm

If you set WaitCursorChanged> to any value with a decimal point it will wait indefinitely. For example:

WaitCursorChanged>1.5

Will wait indefinitely

Is it possible the command code is interpreting the decimal point as a zero?

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Aug 20, 2007 2:20 pm

At present the timeout value is an integer. So, yes, anything less than one never times out. It is designed to take a number of seconds.

I will add to the wish list the requirement to allow fractional values.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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