Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Set a default value for DELAY

Aug
2,294
111
I have a .btm that uses KEYSTACK to send keystrokes to another application.

KEYSTACK has the /W option,
but I prefer to use DELAY.

DELAY defaults to a delay of 1 second,
but I wanted a default delay of 1/4 of a second.

Instead of typing DELAY /M 250 between each KEYSTACK command,
I created an ALIAS,
Code:
alias delay=`*delay /M 250`

Now, I just have to type DELAY instead of DELAY /M 250 throughout my script.

Joe
 
Back
Top