Giter VIP home page Giter VIP logo

autojs.battery-charging-speaker's Introduction

Autojs6脚本 电量充电报告器

  • 会在电量低于30%时,语音提醒“小米手机电量低,请及时连接充电器!”并震动。
    • 每低5%的电量提醒一次。
  • 会在电量高于80%时,语音提醒“小米手机充电已完成,请断开充电器!”并震动。
    • 每高5%的电量提醒一次。

测试情况

Autojs6 v6.5.0 @ 2023/12/02 在小米手机12S Ultra(HyperOS 1.0.5.0 with Android 14)上测试通过。

实现难点

Android的TTS初始化相较慢,导致speak时失败。通过在onInit方法中添加callback函数实现。

autojs.battery-charging-speaker's People

Contributors

antisunny avatar

Stargazers

 avatar

Watchers

 avatar

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.