Notes/src/public/app/doc_notes/launchbar_script_launcher.html

10 lines
378 B
HTML
Raw Normal View History

2022-08-08 23:13:31 +02:00
<p>Please define the target script note in the promoted attributes. This script will be executed immediately upon clicking the launchbar icon.</p>
<p>Launchbar displays the title / icon from the shortcut which does not necessarily mirrors those of the target script note.</p>
2022-11-27 23:43:25 +01:00
<h4>Example script</h4>
<pre>
alert("Current note is " + api.getActiveContextNote().title);
</pre>