-
Hi.. I'm trying to emulate the combination:
Ctrl, Ctrl, "A", Enter
I'm not trying to press all keys at once. I want to press them on by on.
I tryed to use this code:
SendKeys "^^A~"
but VB does not like this.. Any idéas?
[Edited by rancor on 06-02-2000 at 05:43 AM]
-
There's only one control code for both CTRL keys so you can't detect when they're both being pressed simultaneously.
(As far as I know)
-
Try this:
Code:
SendKeys "{^ 2}A~", True
Good luck!
-
nope.. Did not work..
Does not that code "puch" the ^-button two times?
SendKeys "{^ 2}A~", True
any other idéas?..
-
To press them one at a time (which is what I think you're asking) do this:
Sendkeys "{^ 2}", true
Sendkeys "A", True
SendKeys "{Enter}", True
-
If I use that code I got at printout like thoi:
^^A
Is the ^-char what the Ctrl look's like if you print the ascii code?