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
 
Back
Top