mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-26 23:11:34 +08:00
13 lines
413 B
HTML
13 lines
413 B
HTML
![]() |
<p>脚本启动器可以执行通过 <code>~script</code> 关系连接的脚本(代码笔记)。</p>
|
||
|
|
||
|
<ol>
|
||
|
<li><code>script</code> - 与应在启动器激活时执行的脚本笔记的关系</li>
|
||
|
<li><code>keyboardShortcut</code> - 可选,按下键盘快捷键将激活启动器</li>
|
||
|
</ol>
|
||
|
|
||
|
<h4>示例脚本</h4>
|
||
|
|
||
|
<pre>
|
||
|
api.showMessage("当前笔记是 " + api.getActiveContextNote().title);
|
||
|
</pre>
|