diff --git a/src/CommandCollections/WindowsTerminal中打开.json b/CommandCollections/WindowsTerminal中打开.json similarity index 100% rename from src/CommandCollections/WindowsTerminal中打开.json rename to CommandCollections/WindowsTerminal中打开.json diff --git a/src/CommandCollections/html界面示例.json b/CommandCollections/html界面示例.json similarity index 100% rename from src/CommandCollections/html界面示例.json rename to CommandCollections/html界面示例.json diff --git a/src/CommandCollections/ping.json b/CommandCollections/ping.json similarity index 100% rename from src/CommandCollections/ping.json rename to CommandCollections/ping.json diff --git a/src/CommandCollections/ping当前域名.json b/CommandCollections/ping当前域名.json similarity index 100% rename from src/CommandCollections/ping当前域名.json rename to CommandCollections/ping当前域名.json diff --git a/src/CommandCollections/切换百度谷歌搜索.json b/CommandCollections/切换百度谷歌搜索.json similarity index 100% rename from src/CommandCollections/切换百度谷歌搜索.json rename to CommandCollections/切换百度谷歌搜索.json diff --git a/src/CommandCollections/息屏.json b/CommandCollections/息屏.json similarity index 100% rename from src/CommandCollections/息屏.json rename to CommandCollections/息屏.json diff --git a/src/CommandCollections/手机号、IP 归属地查询.json b/CommandCollections/手机号、IP 归属地查询.json similarity index 100% rename from src/CommandCollections/手机号、IP 归属地查询.json rename to CommandCollections/手机号、IP 归属地查询.json diff --git a/src/CommandCollections/打开网络连接.json b/CommandCollections/打开网络连接.json similarity index 100% rename from src/CommandCollections/打开网络连接.json rename to CommandCollections/打开网络连接.json diff --git a/src/CommandCollections/窗口信息.json b/CommandCollections/窗口信息.json similarity index 100% rename from src/CommandCollections/窗口信息.json rename to CommandCollections/窗口信息.json diff --git a/src/CommandCollections/计算器.json b/CommandCollections/计算器.json similarity index 100% rename from src/CommandCollections/计算器.json rename to CommandCollections/计算器.json diff --git a/QuickCommand-1.5.1.upx b/QuickCommand-1.5.1.upx index 42bfc2e..f39d746 100644 Binary files a/QuickCommand-1.5.1.upx and b/QuickCommand-1.5.1.upx differ diff --git a/README.md b/README.md new file mode 100755 index 0000000..f9fd6b4 --- /dev/null +++ b/README.md @@ -0,0 +1,146 @@ +# 快捷命令 V1.5.1 + +## 简介 + +自定义可以在`uTools`中快速执行的命令或脚本 + +### 更新 + +#### v1.5.1 +- 修复macOS下新增命令界面排版错误的问题 +- 修复macOS下使用shell脚本且发送输出结果到活动窗口时结果不正确的问题 + +#### v1.5.0 + + - 注意本次更新对多处代码进行了重写,如果原有命令在上一版运行正常,在这一版出现了一些问题,请重新编辑该命令,修改命令的模式。如原有命令中使用了{{input}}变量的,关键字会变成[object object],请重新编辑该命令,将命令调整为`主输入框正则匹配`,如果原有命令中使用了{{pwd}}等变量的,请重新编辑该命令,将命令调整为`通过uTools呼出前的窗口匹配` + - 原先命令自定了图标的,如果图标显示异常,重新选择设置一次图标即可 + +##### 功能更新 + +- 新增`通过uTools呼出前的窗口匹配`的模式,现在可以快速编写一个应用到当前活动窗口的脚本 +- 现在可以分别通过`关键字`,`主输入框正则匹配`,`活动窗口匹配`三种方式来调用自定义的脚本 + +![UTOOLS1586518502184.png](https://user-gold-cdn.xitu.io/2020/4/10/17163df2ca458cf8?w=804&h=660&f=png&s=82971) + +- 新增一个特殊变量`当前窗口信息`,输出`json`格式的窗口相关信息,将原先的特殊变量`用户名`改为`本机唯一ID`,方便针对不同电脑编写脚本,两个变量均通过官方API获取 +- 弃用原先模拟按键的方式,获取资源管理器路径、选中文件、浏览器地址均借助官方API +- 新增`发送系统通知`的输出模式 By [imxiny](https://github.com/imxiny) +- 新增`在终端显示`的输出模式, 用以解决脚本需要显示动态输出的问题, 如 curl 命令 [issue](https://github.com/fofolee/uTools-QuickerCommand/issues/3) +- 上传一些命令至仓库的`CommandCollections`文件夹,用以作为编写命令的样例,同时大家可以提交PR丰富这个命令库 + +##### BUG 修复 + +- 修复 php 无法输入