Prev: Anyone heard of On Local Error.... and is it any different to On Error...?
Next: Hovering over an ActiveX object
From: Juergen Thuemmler on 1 Apr 2010 10:36 Hi *.*, I wanted to replace the VB-"SendKeys" by Karl E.Peterson's "MySendKeys" with the module header: ' Updated 29-Jan-2009 to add support for Unicode characters embedded ' in strings passed to MySendKeys(). But I realized, that characters, which are generated using "Alt Gr" like "@", "\", "|" are not processed correctly. Does anyone know this problem (and solution)? Is there an update available? Karl? Juergen.
From: Nobody on 1 Apr 2010 10:54 "Juergen Thuemmler" <thue(a)removethisgmx.de> wrote in message news:%23d3POja0KHA.3652(a)TK2MSFTNGP04.phx.gbl... > Hi *.*, > > I wanted to replace the VB-"SendKeys" by Karl E.Peterson's "MySendKeys" > with the module header: > ' Updated 29-Jan-2009 to add support for Unicode characters embedded > ' in strings passed to MySendKeys(). > But I realized, that characters, which are generated using "Alt Gr" like > "@", "\", "|" are not processed correctly. Does anyone know this problem > (and solution)? Is there an update available? Karl? There is a possibility that the function is sending the keys correctly, however, in some applications, you have to send the key as lower case if you want it to click on a menu item, for example, try sending Alt+gr instead of Alt+Gr.
From: Jeff Johnson on 1 Apr 2010 11:08 "Nobody" <nobody(a)nobody.com> wrote in message news:OEga3sa0KHA.3380(a)TK2MSFTNGP05.phx.gbl... >> I wanted to replace the VB-"SendKeys" by Karl E.Peterson's "MySendKeys" >> with the module header: >> ' Updated 29-Jan-2009 to add support for Unicode characters embedded >> ' in strings passed to MySendKeys(). >> But I realized, that characters, which are generated using "Alt Gr" like >> "@", "\", "|" are not processed correctly. Does anyone know this problem >> (and solution)? Is there an update available? Karl? > > There is a possibility that the function is sending the keys correctly, > however, in some applications, you have to send the key as lower case if > you want it to click on a menu item, for example, try sending Alt+gr > instead of Alt+Gr. HAHAHA. Sorry for laughing, but it was funny. "Alt Gr" is a KEY on non-US keyboards, not the key sequence of Alt+G, r. I believe it's usually where the right Alt key is for us. It just adds some extra functionality for non-English languages or something like that.
From: Juergen Thuemmler on 1 Apr 2010 11:24 Hi Jeff, > HAHAHA. Sorry for laughing, but it was funny. "Alt Gr" is a KEY on non-US > keyboards, not the key sequence of Alt+G, r. I believe it's usually where > the right Alt key is for us. It just adds some extra functionality for > non-English languages or something like that. you are right, it is a key, which generates (when pressed and released) Ctrl Down Alt Down (as extended key) Ctrl Up Alt Up (as extended key) I didn't know that there is a difference between european (german) an your keyboard... How do you generate e.g. a "\" with keyboard? Juergen.
From: Jeff Johnson on 1 Apr 2010 12:14
"Juergen Thuemmler" <thue(a)removethisgmx.de> wrote in message news:%23IUL39a0KHA.4168(a)TK2MSFTNGP02.phx.gbl... >> HAHAHA. Sorry for laughing, but it was funny. "Alt Gr" is a KEY on non-US >> keyboards, not the key sequence of Alt+G, r. I believe it's usually where >> the right Alt key is for us. It just adds some extra functionality for >> non-English languages or something like that. > > you are right, it is a key, which generates (when pressed and released) > Ctrl Down > Alt Down (as extended key) > Ctrl Up > Alt Up (as extended key) > I didn't know that there is a difference between european (german) an your > keyboard... > How do you generate e.g. a "\" with keyboard? Believe it or not, with the \ key. (Shifted it produces the pipe ( | ) symbol.) This key can be the source of quite a bit of frustration. Most PC keyboards have a rectangular, wide Enter key, and the \ key is right above it. However, some keyboards have a backwards-L-shaped Enter key, with the top of the L taking up the space where the \ key normally is, so that key has to be relocated somewhere. It often goes up near the Backspace key, requiring the Backspace key to be shrunk to the size of a normal key and not double-wide. This means that you'll often hit the Enter key when trying to type a \ or type a \ when trying to backspace. I hate these keyboards with a passion.... I tried to find a good image for you, but settled on this: http://en.wikipedia.org/wiki/IBM_PC_keyboard |