12-01-2005, 08:47 AM
Open or create function init2. Put this code. Run init2 or restart QM.
This code gets path of current QM macro list file and stores into environment variable qml. An environment variable in file functions (including scan) is expanded if it is enclosed in % and is at the beginning. For example, "%qml%\a.bmp" will be expanded to "C:\Macros\SomePrg\a.bmp"
This code gets path of current QM macro list file and stores into environment variable qml. An environment variable in file functions (including scan) is expanded if it is enclosed in % and is at the beginning. For example, "%qml%\a.bmp" will be expanded to "C:\Macros\SomePrg\a.bmp"