Please define the target script note in the promoted attributes. This script will be executed immediately upon clicking the launchbar icon.

Launchbar displays the title / icon from the shortcut which does not necessarily mirrors those of the target script note.

Example script

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