We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d3c50b commit a3427ceCopy full SHA for a3427ce
docs/scripting/examples/variables.qml
@@ -8,6 +8,7 @@ import QOwnNotesTypes 1.0
8
Script {
9
// you have to define your registered variables so you can access them later
10
property string myString;
11
+ property string myStringSecret;
12
property bool myBoolean;
13
property string myText;
14
property int myInt;
@@ -90,6 +91,7 @@ Script {
90
91
// these variables will be set by QOwnNotes from the settings
92
// if the user didn't set a variable your default value will be set
93
script.log(myString);
94
+ script.log(myStringSecret);
95
script.log(myBoolean);
96
script.log(myText);
97
script.log(myInt);
0 commit comments