Code Monkey home page Code Monkey logo

ahk-script-archive's Introduction

AHK脚本存档

介绍

暂存

软件架构

AutoHotKey脚本

安装教程

  1. 安装AutoHotKey
  2. 运行ank脚本

使用说明

  1. 运行ank脚本或者直接下载exe文件直接运行

简易ahk脚本通过adb上传文件到wsa中使用说明(本脚本已重写,详见https://gitee.com/huhuhuhu/ahk-script-archive/blob/master/new/index.md

使用

必须在wsa已运行应用情况下 (不管是前台还是后台)

在资源管理器中选中文件按快捷键win+z触发上传

下载adb并设置环境变量 (此处自行搜索教程,太多了,此处不在重复)

方案一(使用ahk文件):

  1. 安装AutoHotKey
  2. 下载文件推送文件到wsa.ahk
  3. 双击该ahk运行,如需开机自启请移动到启动文件夹(%AppData%\Microsoft\Windows\Start Menu\Programs\Startup

方案二(使用exe文件,无需安装AutoHotKey,但文件不能修改):

  1. 下载文件推送文件到wsa.exe
  2. 双击该exe运行,如需开机自启请移动到启动文件夹(%AppData%\Microsoft\Windows\Start Menu\Programs\Startup

以上安装方案任选其一

其他事项

如不想设置adb环境变量,可修改ahk脚本第2行内容global adbc :="adb"自行指定位置(暂未测试)

已知问题:

  1. adb无法连接时报错内容乱码
  2. 暂未支持文件夹直接上传
  3. 暂无法隐藏命令行窗口
  4. 默认终端应用程序被设置为Windows Terminal Preview时无法稳定运行

备注:

ahk-script-archive's People

Contributors

huhuime avatar

Stargazers

 avatar

Watchers

 avatar

ahk-script-archive's Issues

Error

win+z后cmd一闪而过没有任何反应,有没有提示,图片截图后也没用上传成功。图片中的两个终端都试过了没有用,adb也能用
image

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.