wait for Send Character/Text

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Guest

wait for Send Character/Text

Post by Guest » Wed Nov 17, 2004 11:11 pm

Is there a way to wait for Send> to finish entering text before continuing with a script? Suppose I have numerous send messages.

Send>test...
Send>test...
Send>test....

It takes anywhere from a few seconds to many seconds for this to complete depending on the speed of the machine and/or the editor I'm entering text into. I could issue a very long Wait command but there has to be some other way to know that it has finished entering text. any ideas?

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Wed Nov 17, 2004 11:16 pm

You can try adding a WaitReady in there, or incrase the delay between each character press...
The help file for Send> gives the example of;
Let>SK_DELAY=10
(meaning a 10ms delay between each sent character).

If there is a specific "event" or icon / color / pixel that occurs when the system is ready... you can try checking for that.

Guest

Post by Guest » Wed Nov 17, 2004 11:25 pm

SK_DELAY=10 worked perfectly...thanks!

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