I am writing a plugin which get text from WORD after quitting WORD. But I do not know how to catch Quit event of WORD from my plug-in function.
Thanks
I am writing a plugin which get text from WORD after quitting WORD. But I do not know how to catch Quit event of WORD from my plug-in function.
Thanks
What does your "plugin" plug into - word, your web browser, your email client ?
Or do you mean you have a word plugin which runs just before word quits?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I am working with FileMaker Plug-in. I writing a plug-in function. When this function is called, it will initiate a WORD process. I want to get text from word document(user type) after user close WORD application. This text will be filled in FileMaker. I declare a WORD application and WORD Document object point to the WORD application running. But I do not know how to get the Quit even of WORD app. If you have any ideas, please help me! Thk you so much!
A crude way would be to do something like this
system("word temp.doc");
which would only return when the user had saved temp.doc and quit word.
A more refined approach would be to use OLE / DDE / or whatever microsoft calls it's inter-application interfaces nowadays.
But I don't know any details, since IANAWP.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.