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. keyboardLauncher - optional, pressing the keyboard launcher will activate the launcher

Example script

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