1
0
Fork 0
mirror of https://github.com/marty-oehme/scripts.git synced 2024-12-22 07:58:08 +00:00

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

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");