Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATETIME="2015-05-19 krep";
- SCREEN_RESOLUTION="320x480";
- cycles = 5
- x = true
- appRun("com.perk.livetv.iphone");
- do
- local t = 0
- while x do
- if ((getColor(52, 350)) == 16505020) then
- touchDown(0, 54, 349)
- usleep(200000)
- touchUp(0, 54, 349)
- break
- elseif (getColor(85, 214)) == 0 then
- touchDown(0, 80, 280)
- usleep(200000)
- touchUp(0, 80, 280)
- end
- usleep(500000)
- t = t + 1
- if (t > 60) then
- x = false
- end
- end
- end
- usleep(1000000);
- do
- local t = 0
- local y = 0
- while ((y <= cycles) and (t <= 30))
- do
- if (((getColor(162.7, 224.2)) == 3426654) and ((getColor(157.8, 275.6)) ~= 6485499)) then
- touchDown(0, 233, 241)
- usleep(200000)
- touchUp(0, 233, 241)
- usleep(15000000)
- y = y + 1
- elseif ((getColor(160.3, 224.5) == 0)
- and (getColor(173.9, 239.4) == 0)
- and (getColor(160.0, 253.0) == 0)
- and (getColor(147.4, 239.7) ==0)) then
- usleep(1000000)
- t = t + 1
- end
- end
- end
- usleep(500000)
- appKill("com.perk.livetv.iphone");
- appRun("com.vinqon.memorycleanerpro");
- while ((getColor(54.0, 289.2) ~= 15044926)) do
- usleep(1000000)
- end
- appKill("com.vinqon.memorycleanerpro");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement