How to? KEYSTACK's /W number for 5 minutes

Apr 2, 2011
1,441
10
54
North Carolina, USA
The /W number is: "Delay the next keystroke in the KEYSTACK buffer by a specified number of clock ticks. A clock tick is approximately 1/18 second."

so if I want to wait 5 mnutes the calculation for the number would be

18 (18 ticks in a second) X 60 (seconds in a minute) X 5 (minutes to wait.)

So the correct number would be 5400, correct?
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
The /W number is: "Delay the next keystroke in the KEYSTACK buffer by a specified number of clock ticks. A clock tick is approximately 1/18 second."

so if I want to wait 5 mnutes the calculation for the number would be

18 (18 ticks in a second) X 60 (seconds in a minute) X 5 (minutes to wait.)

So the correct number would be 5400, correct?

Yes -- though I can't imagine why you would use KEYSTACK to wait for 5 minutes. The KEYSTACK /W option is intended to insert waits between keystrokes -- if you had that long a wait you'd probably be better off using one of the monitoring commands to watch for a condition and then send the remaining keystrokes.
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
The main processing of the PGM I call with START /Wait then using keystact happens during the 5 minute wait. The only key I send after the 5 minute wait is to exit the called PGM.

post edit:
The program cycles thru the list of AOL Personal filing cabinets, extracting mainly saved favorites. So basically the called PGM will update where I have my browser favorites stored. Not sure what monitoring command I coiuld use either.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica KEYSTACK Alt-" "? Support 6
vefatica KEYSTACK and someone else's MessageBox? Support 1
vefatica KEYSTACK? Support 1
vefatica Can KEYSTACK send Alt-1 (Alt-2 ...)? Support 6
vefatica Fixed KEYSTACK /i with repeat count sends wrong keys Support 7
B How to? Send backslash with keystack Support 1
S WAD KEYSTACK fails in TCC-64 Support 2
vefatica WAD DO ... (KEYSTACK /w ...) Support 18
S Documentation KEYSTACK - has this feature been dropped? Support 5
S How to? Coordinating KEYSTACK action with webpage action Support 1
T KEYSTACK and double-double quotes dropping spaces Support 2
C Size of keystack buffer? Support 2
C keystack Support 1
U Keystack mangles 'special' characters Support 6
S KEYSTACK and caps lock Support 9
B Start and keystack do not work in batch file Support 1
B A swedish character sent through keystack gets converted Support 4
Charles Dye KEYSTACK ! Support 0
R FUNCTION to count NUMBER of files matching a pattern and specific length/not length Support 4
vefatica Windows 10 version number? Support 6
T FFind - can we display n number of lines after the find? Support 2
H DOS CMD Sort+Add Sequence+Remove Sequence number Support 12
Roedy WAD Version number Support 1
C How to? date1 - date2 = number of days Support 10
Alexander WAD The number of files and dirs are multiplied when using multiple wildcards Support 6
nikbackm FUNCTION with variable number of arguments Support 17
C Does removing a registered TCMD lower the number registrations used? Support 5
A How to? Filter a list by numeric number within filename Support 28
M How to? A very simple question re. the current line number in a batch file... Support 2
R specific functions for number conversion Support 2

Similar threads