Skip to content

Commit

Permalink
Merge pull request #33 from ruchuby/develop
Browse files Browse the repository at this point in the history
Starter v0.5.1
  • Loading branch information
AkiChase authored Apr 16, 2023
2 parents a7fbd47 + 11f7f1d commit 6175c3d
Show file tree
Hide file tree
Showing 8 changed files with 220 additions and 111 deletions.
2 changes: 1 addition & 1 deletion docs/api/utils/ImagePutHelper.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ImagePutHelper
author: ruchuby
order: -1
order: 2
date: 2023-04-14
---

Expand Down
16 changes: 14 additions & 2 deletions docs/api/utils/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,26 @@ ori是否以sub开头

## associatedHIcon(filePath){#associatedHIcon}

获取 Windows 中与指定文件关联的图标,并返回一个 hICON 句柄
获取 Windows 中与指定文件关联的图标,并返回一个 hIcon 句柄

- 参数
- \{String\} `filePath`:需要获取关联图标的文件路径

- 返回值
- \{Int\} 获取到的关联图标的 HICON 句柄

# base64ToHICON(base64){#base64ToHICON}

载入无头部的图片base64文本,返回 hIcon 句柄

## 参数

- \{String\} `base64`:无头部的图片base64文本

## 返回值

- \{Int\} 载入后图标的 HICON 句柄

## tip(title, content, time?, unique := false){#tip}

在右下角弹出一条 `WiseGui` 通知,可设置标题、内容、计时消失时间、是否唯一,返回该通知的 id
Expand All @@ -165,7 +177,7 @@ ori是否以sub开头
- \{String\} `title`:通知标题
- \{String\} `content`:通知内容
- \{Number\} `time`:计时消失时间(单位为毫秒),选填,默认为 0,表示不消失
- \{Boolean\} `unique`:是否保证唯一(即同一时刻只有一条弹窗),选填,默认为 false
- \{Boolean\} `unique`:是否保证唯一(不会被覆盖),选填,默认为 false

- 返回值
- \{String\} 该通知窗口的 id(如果 `unique` 为 true,则返回 A_TickCount 值作为 id)
Expand Down
1 change: 1 addition & 0 deletions docs/dev/intelligent/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 进阶
icon: circle-right
author: ruchuby
date: 2023-04-14
order: 2
---

自定义匹配函数的进阶应用自然是各种匹配条件**混合使用**,此外还有一个排序优先级的概念。
Expand Down
1 change: 1 addition & 0 deletions docs/dev/intelligent/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 基础
icon: square-caret-up
author: ruchuby
date: 2023-04-14
order: 1
---

**插件智能项**的功能非常强大,可以通过自定义匹配函数,根据当前输入内容的类型,具体内容,工作窗口等信息判断是否匹配当前插件智能项。
Expand Down
1 change: 1 addition & 0 deletions docs/dev/plugin-mode/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 进阶
icon: circle-right
author: ruchuby
date: 2023-04-14
order: 2
---

在理解**插件模式**的基本应用之后,可以尝试进阶应用。
Expand Down
1 change: 1 addition & 0 deletions docs/dev/plugin-mode/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 基础
icon: square-caret-up
author: ruchuby
date: 2023-04-14
order: 1
---

**插件模式**类似于启动模式、智能模式,但更加自由、强大,**Starter** 仅仅提供一个搜索框,其他内容全部由插件定义。
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/AboutGui.ah2
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* @Version: 0.0.3
* @Author: ruchuby
* @LastEditors: ruchuby
* @LastEditTime: 2023-04-13
* @LastEditTime: 2023-04-16
* @Description: 关于界面显示版本信息、项目主页、检查更新
*/
class AboutGui {
static version := "0.5.0"
static version := "0.5.1"
; static gui:=unset

static init() {
Expand Down
Loading

0 comments on commit 6175c3d

Please sign in to comment.