Posts: 1,031
Threads: 246
Joined: Jul 2022
07-27-2022, 01:06 AM
(This post was last modified: 07-27-2022, 02:18 AM by Davider.)
Hi,
1.I created a toolbar to save my QM manually, but the saved files are not up to date
2.I want to perform the above functions before the computer shuts down, how do I set the trigger?
Thanks in advance for any advice and help
david
Toolbar
Toolbar1
;/mov 7 28 /siz 131 27 /ssiz 24 24 /set 0x4507 0xFCFF /isiz 0 0
Backup QM :sub.Sub1 ;;Backup QM
#sub Sub1 m
key Cs ;; Ctrl+S
cop "$My QM$\Main.qml" "$Desktop$\BAK"
Posts: 12,073
Threads: 140
Joined: Dec 2002
07-27-2022, 04:17 AM
(This post was last modified: 07-27-2022, 04:19 AM by Gintaras.)
1. Replace
key Cs
with
_qmfile.FullSave
2. Try trigger: QM events / Exit / Windows exits.
Posts: 1,031
Threads: 246
Joined: Jul 2022
07-27-2022, 04:25 AM
(This post was last modified: 07-27-2022, 04:29 AM by Davider.)
thanks very mach
about 2 My expression may be wrong
when shut down the computer Is it possible?
I want to save the QM file before shutting down the computer, Triggered automatically
Posts: 12,073
Threads: 140
Joined: Dec 2002
Trigger "Windows exits" means "QM received a message that this user session is ending (shutdown or logoff)".
Posts: 1,031
Threads: 246
Joined: Jul 2022
@gintaras
Thanks for your help