Hi
I'm new to AutoIt and this is probably a very basic question. I have the following script that I'm playing with.
Run("WINWORD.EXE")
WinWainActive("Document1 - Microsoft Word")
Send("This is my test string")
WinClose("Document1 - Microsoft Word")
WinWaitActive("Microsoft Office Word")
Send("!y")
WinWaitActive("Save As")
Send("c:\temp\test.doc")
Only the word "This" gets send to the document and the rest of it "is my test string" ends up getting sent to the Save dialog box rather than the "C:\temp\test.doc". I'm sure I've missed something but I can't figure out what
Thank you,
Mike
I'm new to AutoIt and this is probably a very basic question. I have the following script that I'm playing with.
Run("WINWORD.EXE")
WinWainActive("Document1 - Microsoft Word")
Send("This is my test string")
WinClose("Document1 - Microsoft Word")
WinWaitActive("Microsoft Office Word")
Send("!y")
WinWaitActive("Save As")
Send("c:\temp\test.doc")
Only the word "This" gets send to the document and the rest of it "is my test string" ends up getting sent to the Save dialog box rather than the "C:\temp\test.doc". I'm sure I've missed something but I can't figure out what
Thank you,
Mike