public
anonymous / monkey example script
Created

monkey script

  • Download Gist
monkey example script
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# Touch the android
touch down 160 200
touch up 160 200
sleep 1000
 
# Hit Next
touch down 300 450
touch up 300 450
sleep 1000
 
# Hit Next
touch down 300 450
touch up 300 450
sleep 1000
 
# Hit Next
touch down 300 450
touch up 300 450
sleep 1000
 
# Go down and select the account username
key down dpad_down
key up dpad_down
key down dpad_down
key up dpad_down
key down dpad_center
key up dpad_center
# account name: bill
key down b
key up b
key down i
key up i
key down l
key up l
key down l
key up l
 
# Go down to the password field
key down dpad_down
key up dpad_down
 
# password: bill
key down b
key up b
key down i
key up i
key down l
key up l
key down l
key up l
 
# Select next
touch down 300 450
touch up 300 450
 
# quit
quit

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.