Giter Site home page Giter Site logo

Comments (6)

chunqiulfq avatar chunqiulfq commented on August 17, 2024 12

通过打开开发者选项的指针位置然后解锁可以发现解锁成功需要在上滑的结束位置使滑动曲线变为红色,由于小米屏幕没有压感,所以猜测是需要变速滑动才能解锁成功。
wechatimg96
但是通过auto.js模拟的上滑是匀速滑动,所以会失败。

通过查找发现 http://dq.tieba.com/p/5851853570 中的方法可行,他通过下拉通知栏,然后点击时间实现实现与上滑相同的功能。

        //曲线解锁 miui锁屏滑动不能唤出密码输入 通过下拉通知栏点击时间进入密码解锁
        device.wakeUp();
        //下拉状态栏
        swipe(500, 30, 500, 1000, 300);
        sleep(400);
        //点击时间
        click(100, 120);

from autojs.

e1399579 avatar e1399579 commented on August 17, 2024

换个主题试试,我也是用官方的主题怎么滑都解锁不了,后来试了几个主题就好了

from autojs.

huxingui avatar huxingui commented on August 17, 2024

原生系统。当锁屏界面有多于2个通知时,脚本自动向上滑动不能拉起图案解锁面板,提示解锁失败。看不懂代码,不知道怎么解决?求助……

from autojs.

Chichele avatar Chichele commented on August 17, 2024

@chunqiulfq 实测可行!感谢!

from autojs.

Maydaylxc avatar Maydaylxc commented on August 17, 2024

@e1399579 你好,你用的什么主题,我找了好多主题一直不行。。。

Sent from my Xiaomi MI 9 using FastHub

from autojs.

koftt avatar koftt commented on August 17, 2024

from autojs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.