Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing files in current macro's directory
#3
ok great thx.

You should provide an easier buildin way for this feature in next patch.
It will be used alot with the scan functionality Wink

Until you showed me the way to find the current qml file using registry, i didnt even know it was recorded like that....

For other interested what it does, who cant decript it:
It looks-up the value of registry key: HKEY_CURRENT_USER\Software\GinDi\QM2\settings\file
Then takes only the path part of it.
Then prepends qml= and parses the complete string as a argument to _putenv

If for example the current qml-file is "C:\Macros\Someprg\test.qml", then a environment variable is created as: qml=C:\Macros\Someprg
Well thats all for now, 3M


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)