Tabulazero
June 2nd, 2019, 15:31
Is there a function that forces the DB to save ?
For example I create a window called "locked_window" and give it a name "newWindow".
I can do that by typing the following command in the chat:
/openwindow locked_window newWindow
If I immediately open the DB.xml file, no trace of "newWindow"
However, if I then type /save in the chat window and reopen the DB.xml, here it is.
Since I plan to basically check if the title of locked_window is empty and if not to copy "newWindow" to a new node, forcing a save of the DB would be helpful. How can I do that ?
For example I create a window called "locked_window" and give it a name "newWindow".
I can do that by typing the following command in the chat:
/openwindow locked_window newWindow
If I immediately open the DB.xml file, no trace of "newWindow"
However, if I then type /save in the chat window and reopen the DB.xml, here it is.
Since I plan to basically check if the title of locked_window is empty and if not to copy "newWindow" to a new node, forcing a save of the DB would be helpful. How can I do that ?