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:
parent
856a040ca6
commit
0867e968be
1 changed files with 4 additions and 2 deletions
|
@ -35,10 +35,12 @@ Script {
|
||||||
}
|
}
|
||||||
|
|
||||||
var noteText = script.currentNote().noteText;
|
var noteText = script.currentNote().noteText;
|
||||||
noteText += "\nid:[" + uniqueId + "]";
|
noteText += "\nid:[" + uniqueId + "]\n";
|
||||||
|
|
||||||
script.noteTextEditSelectAll();
|
script.noteTextEditSelectAll();
|
||||||
script.noteTextEditWrite(noteText);
|
script.noteTextEditWrite(noteText);
|
||||||
|
|
||||||
|
script.informationMessageBox("The unique id of your note:<br /><strong>" + uniqueId + "</strong>", "Unique note id");
|
||||||
break;
|
break;
|
||||||
case "jumpById":
|
case "jumpById":
|
||||||
var uniqueId = script.inputDialogGetText("Unique id", "Please enter the id of the note");
|
var uniqueId = script.inputDialogGetText("Unique id", "Please enter the id of the note");
|
||||||
|
|
Loading…
Reference in a new issue