AndroidRecorder the original script is in http://fattuba.com/android-record-and-playback/ Usage $ sh record.sh > event.log Do the touch or swipes for real on the device. $ python convert.py < event.log > convert.sh $ sh convert.sh Requirements gdate python2.7