Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add the with keyword
#7
Just found the AHK code, I hope QM developers also learn from the AHK syntax advantage, in the future version to improve the QM Idea

Four lines of code, control word, the syntax is very simple

AHK Code:

Word := ComObjCreate("Word.Application")
Doc := Word.Documents.Add
Doc.SaveAs("C:\test.doc")
Word.Quit


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)