Keystroke capture

I’m just getting started; this looks interesting! Is it possible to record keystrokes? I frequently do this:

ighlight some text

I do this many times a day. Is it possible to automate this? (I haven’t found a way to record the keystrokes).

thanks in advance!

Yes need desktop automation in the forum you can find more examples