脚本启动器可以执行通过以下方式连接的脚本(代码笔记)~script relation.

  1. script- 和脚本笔记的关系, 会在激活启动器时运行
  2. keyboardShortcut - optional, pressing the keyboard shortcut will activate the launcher

示例脚本

api.showMessage("Current note is " + api.getActiveContextNote().title);