Simple keystrokes

Discussion, questions and support.
Post Reply
margo16
Posts: 2
Joined: Sep 29th, ’24, 20:38

Post by margo16 » Sep 29th, ’24, 20:40

Hi All,
I'm a new user trying this out for my work. I'm trying to automate simple keystrokes. Not a key combination, just a simple press.
Example:
- at first "Backspace", then "1", then "Y", and in the end "G"
And assign this sequence to the F5 key. How to do it in FastKeys?
Thanks.
User avatar
Marko
Posts: 1804
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Oct 1st, ’24, 18:46

Use Shortcuts module and create a new shortcut, Type: Send. Set the shortcut to be F5.
Your key sequence would be
{Backspace}1YG

Check the following tutorial video:
Simulating keystrokes - Automate pressing keyboard keys
margo16
Posts: 2
Joined: Sep 29th, ’24, 20:38

Post by margo16 » Oct 2nd, ’24, 18:55

Thank you very much!
But maybe my system doesn't understand such a keystroke speed.
Is it possible to pause (in 1 second) temporarily before pressing each key?
Thanks.
User avatar
Marko
Posts: 1804
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Oct 3rd, ’24, 08:52

Type: Send

Code: Select all

{Backspace}{1000}1{1000}Y{1000}G
or Type: Command

Code: Select all

Send, {Backspace}
Sleep, 1000
Send, 1
Sleep, 1000
Send, Y
Sleep, 1000
Send, G
Post Reply