12-24-2005, 05:34 PM
I didnt find anyway to delay the output of the 'key' command, so i created a "wrapper" function for this purpose, and called it "KeyString"
If there is an build-in way to delay the output of this 'key' command then pls tell me.
If not: Add to you "To-do" list
Feel free to enhance it as you see fit..
If there is an build-in way to delay the output of this 'key' command then pls tell me.
If not: Add to you "To-do" list

/
function str'sText [double'nDelay]
double Delay
int Loop
str sTemp
Set delay time in seconds
if(nDelay > 0) Delay = nDelay
else Delay = 0.1
Type the text using macro delays.
for Loop 0 sText.len
if( sText[Loop] = '\' )
sel sText[Loop+1]
case ['n','r']
key Y
Loop += 1
case 't'
key T
Loop += 1
case 'b'
key B
Loop += 1
case else
key "\"
else
key (sTemp.get(sText, Loop, 1))
Delay next key press.
wait Delay
Well thats all for now, 3M