Hello. I want to use QtScript in MS Word. I never did it and wrote an example:
but it does not work. Please help me with errors and if there is - to give a piece of working code.Code:
WordApplication->setProperty("Visible", true); scriptManager->addObject(WordApplication); scriptManager->load("Documents.Add.TypeText(\"Hello :)\")", "myscript", "JavaScript");