Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top