How to open a doc and find a string
Posted: 25 Oct 2021, 01:24
Hi, I'm trying to copy a string, open a Word doc and paste the string into the Find box.
Using this code,
The docx opens correctly, but the "Find" command is opening wherever I come from (e.g., in Chrome), so it seems the Word doc doesn't become the active window.
How can I solve this?
Using this code,
Code: Select all
^!a::
Send, ^c
Run C:\[path to my doc]\mydoc.docx
Send, ^f
Send, %clipboard%
return
How can I solve this?