Script launcher can execute a script (code note) connected via ~script relation.

  1. script - relation to the script note which should be executed upon launcher activation
  2. keyboardShortcut - optional, pressing the keyboard shortcut will activate the launcher

Example script

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