Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top