按键精灵吧 关注:500,255贴子:1,027,698
  • 4回复贴,共1

按键精灵 异常终止(支付宝线下自动扫码支付0.01)

只看楼主收藏回复

蚂蚁森林可以通过线下支付获取5g能量,然后想搞个按键精灵自动支付0.01。然而,萌新遇到了棘手的问题。
PS;通过直接录制的话 会在输入金额的时候乱按 不能准确的输入0.01 会导致输入0000001111111这样的数字。
后面通过录制+手动插入输入金额代码解决了这一问题。然而,新的问题出现了付款之后程序就异常终止。
思路大致是;1.点击扫码
2.点击相册
3.点击相册首张图片
4.点击输入金额
5.输入金额0.01
6.确认
7.完成
现在进行到第6步的时候程序就异常终止了。也单独提取了最后段代码测试,但是能正常进行。求大手帮助!!!
代码如下:
Delay 1000
Touch 140, 307, 1000
Delay 2000
Touch 652, 123, 1000
Delay 2000
Touch 206, 403, 1000
Delay 5000
Delay 953- TickCount()
TouchDownEvent 701,842,0
Delay 961- TickCount()
TouchUpEvent 0
Delay 971- TickCount()
TouchDownEvent 701,842,0
Delay 979- TickCount()
TouchUpEvent 0
Delay 988- TickCount()
TouchDownEvent 701,842,0
Delay 997- TickCount()
TouchUpEvent 0
Delay 1007- TickCount()
TouchDownEvent 701,842,0
Delay 1016- TickCount()
TouchUpEvent 0
Delay 2000
Tap 425, 1855
Delay 2000
Tap 678, 1850
Delay 1000
Tap 425, 1855
Delay 1000
Touch 117, 1357, 1000
Delay 1000
Touch 478, 1224, 1000
Delay 2000
Delay 976- TickCount()
TouchDownEvent 551,1796,0
Delay 984- TickCount()
TouchUpEvent 0
Delay 993- TickCount()
TouchDownEvent 551,1796,0
Delay 1002- TickCount()
TouchUpEvent 0
Delay 1012- TickCount()
TouchDownEvent 551,1796,0
Delay 1023- TickCount()
TouchUpEvent 0
Delay 1030- TickCount()
TouchDownEvent 551,1796,0
Delay 1041- TickCount()
TouchUpEvent 0
Delay 4901- TickCount()
TouchDownEvent 1016,146,0
Delay 4910- TickCount()
TouchUpEvent 0
Delay 4919- TickCount()
TouchDownEvent 1016,146,0
Delay 4929- TickCount()
TouchUpEvent 0
Delay 4937- TickCount()
TouchDownEvent 1016,146,0
Delay 4947- TickCount()
TouchUpEvent 0
Delay 4956- TickCount()
TouchDownEvent 1016,146,0
Delay 4965- TickCount()
TouchUpEvent 0
Delay 4974- TickCount()
TouchDownEvent 1016,146,0
Delay 4983- TickCount()
TouchUpEvent 0
Delay 4993- TickCount()
TouchDownEvent 1016,146,0
Delay 5001- TickCount()
TouchUpEvent 0
Delay 5010- TickCount()
TouchDownEvent 1016,146,0
Delay 5019- TickCount()
TouchUpEvent 0


IP属地:江西1楼2017-02-09 19:27回复
    直接发送字符串行不行


    IP属地:广东来自Android客户端3楼2017-02-09 23:35
    回复
      2025-08-02 10:22:55
      广告
      不感兴趣
      开通SVIP免广告
      我也碰到这样问题 楼主解决了么?


      IP属地:江苏4楼2017-02-17 23:09
      回复
        录制看毛线啊,录制全看自己经验一点点儿点儿 试千八百次呢


        IP属地:泰国来自iPhone客户端6楼2017-02-18 12:36
        回复