- 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,
Now, I just have to type DELAY instead of DELAY /M 250 throughout my script.
Joe
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