I wonder whether the following option can work: Suppose that in $My QM$ there exists a very short maim.qml file, which - under certain circumstances - decides which one of another two (namely qm1.qml & qm2.qml) will be further called, loaded, executed. If not, is there another way to select at startup which .qml will be loaded? Any advice much appreciated.
qml file at startup
|
07-11-2020, 06:01 AM
Create exe-macro that opens one of files.
To open a qml file, can be used command line. Or before starting QM change registry value "file" in HKEY_CURRENT_USER\SOFTWARE\GinDi\QM2\Settings. Macro Macro2930
07-11-2020, 06:17 AM
Many thanks indeed! I have already used the solution with registry change, I found it a bit dangerous, since if you forget it and you click on another .qml file, then this value is replaced. Best regards.
07-11-2020, 08:59 AM
I have tested it. Nevertheless, it loads last main.qml used and it opens qm1.qml (or qm2.qml) in file viewer. I would like to use absolutely qm1.qml. Is there any way to overcome it, unless using registry's file string appropriately set, which it works. Many thanks.
07-11-2020, 10:28 AM
Should not show file viewer if file path is in
HKEY_CURRENT_USER\SOFTWARE\GinDi\QM2\Settings:Recent Files
07-11-2020, 12:00 PM
Macro Macro2938
str file1="Q:\My QM\qm1.qml" Member function str.MultistringToArray ;/Macro2933 Member function str.MultistringFromArray |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)