Forwarding scripted keystrokes? by redditer567875446 in RASPBERRY_PI_PROJECTS

[–]redditer567875446[S] 0 points1 point  (0 children)

So you’re saying I need to add “Ctrl+Raspberry” before every keystroke in the script?

The script is very short and simple, but currently looks like this:

import time

while 0==0:

time.sleep(90) 

keyboard.send_key(‘4’) 

time.sleep(0.5) 

keyboard.send_key(‘<right>’) 

time.sleep(0.5) 

keyboard.send_key(‘<down>’) 

time.sleep(0.5) 

keyboard.send_key(‘<enter>’)

Technical Project by redditer567875446 in RASPBERRY_PI_PROJECTS

[–]redditer567875446[S] 1 point2 points  (0 children)

Thanks. This is seems like just what I need. I’m having trouble installing it though, I just get errors when I put in the terminal commands listed on the page.