SendKeys in Word 2003

B

Bo Hansson

A simple SendKeys statement that works OK in Word 2000 does not work in Word
2003 (both in Windows XP) ...

WHY?

/Bosse Hansson
 
J

Jay Freedman

Bo said:
A simple SendKeys statement that works OK in Word 2000 does not work
in Word 2003 (both in Windows XP) ...

WHY?

/Bosse Hansson

Hi Bo,

I haven't seen any problems with SendKeys in 2003 (other than the usual
flakiness when multiple windows are open). When you say it doesn't work, do
you mean nothing happens, or that the wrong thing happens?

Double-check that all the keystrokes included in the SendKeys call would
still have the correct effects if executed manually. Some dialogs aren't in
the same place any more, and some things may be in different orders and
require different numbers of tabs or arrow-keys.
 
B

Bo Hansson

Hi Jay,

Using a very simple example: SendKeys "%AÖ" (File Open in Swedish)
When fired from a click on a command of my own menu (with one single
document open) it makes the letter Ö appear in the document. Thats all!

Manually executed it works as expected.

/BosseH
 
B

Bo Hansson

What I really want to do is to control my Adobe Acrobat 7 menu. I've earlier
got following response to my Adobe problems:

---------------------------------------------------------------------------------
Acrobat 7 uses a COM add-in and frankly it should never have been released
in its present condition. For a start it commits the cardinal sin of
preventing Word from functioning correctly, by blocking Word's ability to
save changes in normal.dot. I don't think there is going to be a simple
answer to this, though others may think differently :)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
-------------------------------------------------------------------------------

Is it possible that Acrobat 7 even makes it impossible to send keys to other
menues ?


/BosseH
 
H

Howard Kaikow

Word dialogs do not always remain the same in different versions of Word.

Verify that the dialogs are identical in tab order, etc. in both versions of
Word.
 

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

Top