Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatic information (get computer IP, name, USB drive, etc
#5
If you need to know the drive where is your QM executable
Macro Macro1282
Code:
Copy      Help
;add this somewhere at the beginning
str+ g_mydrive.left(_qmdir 2)
SetEnvVar "mydrive" g_mydrive

;then anywhere in your macro you can use g_mydrive. Example:
out g_mydrive

;also, anywhere in your macro with QM file functions you can use %mydrive% as your drive name. Example:
run "%mydrive%\folder\some.exe"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)