How to use Terminal to send keystrokes?

Hi all!

How can I use Terminal to send keystrokes?

For example after a minute press Shift + R.

you need to make a program for that

Hi!

Thank's.

For example?

I think , "Expect" is the language you need to dig in

maybe mixed with some basch: like the sleep command

Ok, i will check it.

sleep 60s && ydotool key "shift+r"

require ydotool in aur. xdotool appears not work weird.

2 Likes

Thank you so much! :slight_smile:

If you want all your keystrokes logged, simply install Windows. :wink:

2 Likes