Untitled_47 wrote: ↑
Tue Aug 14, 2018 5:50 pm
(I know I’m probably in the wrong section to ask this question) How would I create a script that could click the right key and left key alternating every 5 minutes?
You can install the xdotool utility. With that you can simulate any keyboard or mouse move/click. Google for details.
Code: Select all
sudo apt update
sudo apt install xdotool
Easy to use in bash scripts. Not sure how hard to use in Python?
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.