|
Post by Johnc on Jan 22, 2019 23:09:52 GMT
Hi Steve,
keypress command has been fast but all of a sudden it has become quite slow in typing (around 10 characters per seconds)... wondering what I have done wrong?
Tried to reboot windows, uninstall and reinstall MMM without fixing it. Any parameters I should check? Thanks! John
|
|
|
Post by Steve on Jan 23, 2019 9:50:36 GMT
Hi John, Keypress should put out keys as fast as you have recorded them. Maybe something in the OS is getting in the way. Give this demo a try: 1 | X | X | 150 | Keypress lwin 2 | X | X | 150 | Keypress n 3 | X | X | 150 | Keypress o 4 | X | X | 150 | Keypress t 5 | X | X | 150 | Keypress e 6 | X | X | 150 | Keypress p 7 | X | X | 150 | Keypress a 8 | X | X | 150 | Keypress d 9 | X | X | 150 | Keypress enter 10 | X | X | 150 | Keypress Shift+ | T 11 | X | X | 150 | Keypress h 12 | X | X | 150 | Keypress i 13 | X | X | 150 | Keypress s 14 | X | X | 150 | Keypress space 15 | X | X | 150 | Keypress i 16 | X | X | 150 | Keypress s 17 | X | X | 150 | Keypress space 18 | X | X | 150 | Keypress s 19 | X | X | 150 | Keypress o 20 | X | X | 150 | Keypress m 21 | X | X | 150 | Keypress e 22 | X | X | 150 | Keypress space 23 | X | X | 150 | Keypress t 24 | X | X | 150 | Keypress y 25 | X | X | 150 | Keypress p 26 | X | X | 150 | Keypress i 27 | X | X | 150 | Keypress n 28 | X | X | 150 | Keypress g 29 | X | X | 150 | Keypress space 30 | X | X | 150 | Keypress i 31 | X | X | 150 | Keypress n 32 | X | X | 150 | Keypress space 33 | X | X | 150 | Keypress Shift+ | N 34 | X | X | 150 | Keypress o 35 | X | X | 150 | Keypress t 36 | X | X | 150 | Keypress e 37 | X | X | 150 | Keypress p 38 | X | X | 150 | Keypress a 39 | X | X | 150 | Keypress d 40 | X | X | 150 | Keypress enter 41 | X | X | 150 | Keypress - - This is some auto-typed text .... If everything is working as it should then it should look something like this:
|
|
|
Post by Johnc on Jan 24, 2019 11:39:49 GMT
Thanks Steve for the illustrations! My keypress typing was at least twice as slow as your one line example and maybe it is a Windows thing but I found a workaround:
original slow version
54 | X | X | 300 | Keypress %STRING%%STRING2%%STRING3%.pdf
new fast version using clipboard
55 | RUN ACTION | COPY TO CLIPBOARD | %STRING%%STRING2%%STRING3%.pdf | AND | 2 | X | X | 300 | Keypress Ctrl+ | v almost instantaneous in a firefox url box! Now I recall... I was using ctrl-v before but switched to the first solution and hence the slow down.
Thanks!
|
|