Domanda

I'm maintaining an old MS Access application, and I came across this use of SendKeys.

 SendKeys "%{A}"

I've seen SendKeys to create key presses for "{ESC}", and various letters of the alphabet in the program. Is this "%{A}" doing some character conversion or hex number representation? Unfortunately, the behaviour in the application when it runs is not making the function clear.

È stato utile?

Soluzione

It seems to mean "Alt-A".

See How to send "{" or "}" signs through send keys method in vb 2010 for possible duplicate.

Also see Microsoft article for more information.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top