Waiting for file to open

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to detect when a file has been opened.
I have a button on a form that opens a word document, I need to detect when
it has opened so I can use mySendKeys to send info to the document.

Amiga1200
 
I have a button on a form that opens a word document, I need to detect
when it has opened so I can use mySendKeys to send info to the
document.

If you're talking about MS Word here, then there is no need to use
SendKeys, and every reason to steer well clear of it. It's clunky,
unreliable, prone to being accidentally disrupted by the user, and gives
you no way to recover or even to detect accidents.

MS Word is so easy to drive by automation, there is always a better way.
Same applies to almost every application worth using.

Hope that helps


Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top