Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copying (backup) the main .qml file while QM is running
#1
If have the portable version of QM installed here:
f:\portableapps\quickmacrosportable\

Then the path to the MAIN qml containing all macros is:
f:\portableapps\quickmacrosportable\Data\My QM\Portable.qml

My questions

1)
Can I copy the "Portable.qml" file while QM is running?
Or do I need to close QM first?

Windows uses "Shadow Copy (VSS)": https://en.wikipedia.org/wiki/Shadow_Copy
But I do not know if .qml files can be backuped while QM is running.

2)
And is there an internal command that can be used for the SAVE command?
(The command that get's executed when pressing the blue/purple disk icon)

I currently have an .exe compile script that runs on QM exit (it waits for QM to be fully closed before it runs backup).
But this script sometimes waits 30 secons for QM to be full closed.
Although QM makes auto backup, I have 2 additional locations where I backup .qml that's why I added this method.
#2
Macro Copying (backup) the main .qml file while QM is running
Code:
Copy      Help
;Run this in QM:

_qmfile.FullSave

;Then QM file (and shared files) is in correct state and can be copied somewhere. Until that, recent changes are not written to it, they are in a temporary .wal file.

;Closing QM or hiding its window does the same. The Save button doesn't; it just saves to the .wal file.
#3
WOW! Thank you!!!
(this saves time!)


Forum Jump:


Users browsing this thread: 1 Guest(s)