Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To mimic a bat-file and gain more control
#2
Function ExecCL
Code:
Copy      Help
;Executes QM macro text specified in command line, for example in Command Prompt (cmd.exe).

;Use this prefix to the macro text: qmcl.exe MS "ExecCL" C
;For new lines use " ; ".

;EXAMPLE (in cmd.exe)
;qmcl.exe MS "ExecCL" C run "c:" ; run "$Program Files$\Internet Explorer\iexplore.exe" ; run "$Program Files$\Windows NT\Accessories\wordpad.exe"


str s=_command
s.findreplace(" ; " "[]")
s-"spe -1[]"
;out s
wait 0 H RunTextAsFunction(s)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)