added message box

This commit is contained in:
Patrizio Bekerle 2018-05-05 10:55:01 +02:00
parent 856a040ca6
commit 0867e968be
No known key found for this signature in database
GPG Key ID: 2E9FFD770DABE838
1 changed files with 4 additions and 2 deletions

View File

@ -35,10 +35,12 @@ Script {
}
var noteText = script.currentNote().noteText;
noteText += "\nid:[" + uniqueId + "]";
noteText += "\nid:[" + uniqueId + "]\n";
script.noteTextEditSelectAll();
script.noteTextEditWrite(noteText);
script.informationMessageBox("The unique id of your note:<br /><strong>" + uniqueId + "</strong>", "Unique note id");
break;
case "jumpById":
var uniqueId = script.inputDialogGetText("Unique id", "Please enter the id of the note");