An open API service indexing awesome lists of open source software.

https://github.com/zacksleo/wps-alfred-workflow

alfred workflow for WPS
https://github.com/zacksleo/wps-alfred-workflow

alfred-workflow alfred-workflows alfred4-workflow wps wps-office

Last synced: about 2 months ago
JSON representation

alfred workflow for WPS

Awesome Lists containing this project

README

          

# WPS Alfred Workflow

Alfred Workflow for WPS Office

## 安装

打开 `https://github.com/zacksleo/wps-alfred-workflow/releases`,找到最新版本的 WPS.alfredworkflow
,下载并安装

## 配置

配置环境变量 `wps_cache_dir` 为 wps 缓存目录,如 `/Users/zacksleo/Library/Containers/com.kingsoft.wpsoffice.mac/Data/Library/Application Support/Kingsoft/WPS Cloud Files/userdata/qing/filecache/zacksleo的云文档`

`file_path_expire_mins` 文件路径缓存时间
`latest_expire_mins` 最近使用记录缓存时间
`query_expire_mins` 查询缓存时间
`groups_expire_mins` 分组缓存时间
`group_file_expire_mins` 分组目录缓存时间

## 登录

1. 登录网页版[wps](https://kdocs.cn), 登录成功后, 在 Cookie 中获取 wps_sid

2. `wps {wps_sid}`

![登录](.github/screen-shots/wps-login.png)

wps_sid 会保存在钥匙串中

## 查询最近文档

`wps`

![登录](.github/screen-shots/wps-recent.png)

## 使用关键词查询

`wps {keyword}`

![登录](.github/screen-shots/wps-search.png)

## 目录浏览

选择菜单后,使用 Tab 键盘操作

`wps /`

`wps /{path}/{subpath}`

![返回](.github/screen-shots/wps-back.png)

## 打开

1. 使用回车键,通过 kdocs.cn 在浏览器中打开文档
2. 使用 Cmd, 在客户端中打开

## 删除钥匙串重新登录

在 keychain 中,搜索 wps, 找到 wps_sid 并删除