diff --git a/unique-note-id/unique-note-id.qml b/unique-note-id/unique-note-id.qml index ad9b758..797a2c2 100644 --- a/unique-note-id/unique-note-id.qml +++ b/unique-note-id/unique-note-id.qml @@ -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:
" + uniqueId + "", "Unique note id"); break; case "jumpById": var uniqueId = script.inputDialogGetText("Unique id", "Please enter the id of the note");