- 在QuickAdd设置页面, 添加一个Capture: 闪念速记
- 在闪念速记的设置页面,
- File Name 选择你要插入闪念的文件的名字
- 勾选不存在就创建文件
- 勾选Task, 添加的数据为任务类型
- 勾选Insert after, 添加到指定关键词后面
- 勾选Create line if not found, 如果关键词不存在, 就创建关键词
``````js quickaddlet clipboardContent = await this.quickAddApi.utility.getClipboard();console.log(clipboardContent);if (~clipboardContent.indexOf("js quickadd")) {clipboardContent = clipboardContent.replace(/js quickadd/g, "");console.log("替换成功: js quickadd");}console.log("clipboardContent=", clipboardContent);let inputContent = await this.quickAddApi.inputPrompt("闪念速记-请输入闪念", "请输入闪念", clipboardContent);return `${inputContent}`;
名人名言
思路是最重要的, 其他的百度, bing, stackoverflow, github, 安卓文档, autojs文档, 最后才是群里问问
—- 牙叔教程
声明
部分内容来自网络
本教程仅用于学习, 禁止用于其他用途
bilibili
微信公众号 牙叔教程

QQ群
747748653
