Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Send command does not complete

$
0
0
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

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>