I've worked with powershell before but I'm new to linux bash scripts. Say I wanted to write a script that just presses a key (left arrow) in regular intervals (0.05s). How could I go about doing this?
Use Xdotool. Its usage is:
xdotool key SPECIFY_KEY
and replace SPECIFY_KEY with the required keystroke,
or in your case:
xdotool key Up/Down/etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With