Enter a text at a constant speed

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

Enter a text at a constant speed

Post by zopita » Fri Feb 18, 2011 7:13 pm

Hi,
For the very short texts ("El gato", for instance) I make a macro:

[...]
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
MouseMove>469,542
wait>0.1
Send>E
wait>0.1
Send>l
wait>0.1
Send>
wait>0.1
Send>g
wait>0.1
Send>a
wait>0.1
Send>t
wait>0.1
Send>o
[...]

but for the long texts is not fun. I need a macro like this:

For this text "xxxxxxxx", enter the first character, then wait, then enter the second character, then wait...

¿Can you help me? ¡Thanks!

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

Post by JRL » Fri Feb 18, 2011 8:45 pm

Some thing like this? Let the variable "TextString" be anything you want.

Code: Select all

Let>TextString=El Gato

Length>TextString,len
Let>counter=0
Repeat>counter
  add>counter,1
  MidStr>TextString,counter,1,char
  Send>char
  Wait>0.1
Until>counter=len

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Fri Feb 18, 2011 9:17 pm

Even Easier!

Code: Select all

Let>SK_DELAY=350

Send>Hello

zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

Thanks!

Post by zopita » Sat Feb 19, 2011 2:54 pm

¡Ohhhh!

Thanks JRL, thanks adroege!!! I have two ways, ¡thanks! :D

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