Submitted by raddleboy in programming (edited )
I'd like to simulate a bunch of key-presses on Tails OS but i don't know anything other than pyautogui (which i couldn't get to work on Tails). Is there a way i could convert my scripts into an appimage?
A simplified script (they are more lengthy otherwise) -
<div>
import pyautogui
import time
p.hotkey('alt', 'f2')
time.sleep(1)
p.write('gedit')
time.sleep(.5)
p.hotkey('enter')
</div>
Is there any other solution?
nulloperation wrote
Here's an example recipe for packaging a Python app as an AppImage.
There's also
xdotool
, or for something more advanced (using image recognition to detect specific GUI elements) try SikuliX.