diff --git a/README.md b/README.md index eef3443..8f923cc 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,20 @@ ### 更新 -#### v1.2.0 +#### v1.5.0 ##### 功能更新 +- 新增`通过uTools呼出前的窗口匹配`的模式,现在可以快速编写一个应用到当前活动窗口的脚本 +- 现在可以分别通过`关键字`,`主输入框正则匹配`,`活动窗口匹配`三种方式来调用自定义的脚本 + +![Snipaste_2020-04-10_02-50-18.png](https://user-gold-cdn.xitu.io/2020/4/10/1716049625b73321?w=804&h=660&f=png&s=59600) + +- 新增一个特殊变量`当前窗口信息`,输出`json`格式的窗口相关信息,将原先的特殊变量`用户名`改为`本机唯一ID`,方便针对不同电脑编写脚本,两个变量均通过官方API获取 +- 弃用原先模拟按键的方式,获取资源管理器路径、选中文件、浏览器地址均借助官方API - 新增`发送系统通知`的输出模式 By [imxiny](https://github.com/imxiny) - 新增`在终端显示`的输出模式, 用以解决脚本需要显示动态输出的问题, 如 curl 命令 [issue](https://github.com/fofolee/uTools-QuickerCommand/issues/3) -- 使用官方API来获取浏览器的URL -- 更改获取资源管理器路径、选中文本、选中文件的方法,解决污染用户剪贴板问题,获取管理器路径弃用模拟按键的方式 +- ##### BUG 修复 @@ -24,8 +30,7 @@ ##### 用户体验 -- 当输出设定为纯文本或 HTML 时,窗口不会再闪动,牺牲的代价是无法使用`pwd`、`SelectText`、`SelectFile`三个特殊变量 -- 输出方式为发送到活动窗口时不覆盖用户剪贴板 +- 获取选中文本,以及输出方式为发送到活动窗口时不再覆盖用户剪贴板 ##### 催更 diff --git a/bin/GetForegroundWindow.exe b/bin/GetForegroundWindow.exe deleted file mode 100644 index 659b322..0000000 Binary files a/bin/GetForegroundWindow.exe and /dev/null differ diff --git a/plugin.json b/plugin.json index db0cd5a..1fcace9 100644 --- a/plugin.json +++ b/plugin.json @@ -4,12 +4,11 @@ "main": "index.html", "homepage": "https://github.com/fofolee/uTools-QuickerCommand", "publishPage": "https://yuanliao.info/d/424", - "version": "1.2.0", + "version": "1.5.0", "author": "云之轩", "logo": "logo.png", "platform": [ "win32", "darwin", "linux" ], "preload": "preload.js", - "unpack":"GetForegroundWindow.exe", "features": [ { "code": "options",