|
-
Jun 1st, 2000, 03:48 PM
#1
Thread Starter
Lively Member
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]
-
Jun 1st, 2000, 04:36 PM
#2
Addicted Member
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)
-
Jun 1st, 2000, 06:04 PM
#3
Try this:
Code:
SendKeys "{^ 2}A~", True
Good luck!
-
Jun 1st, 2000, 07:10 PM
#4
Thread Starter
Lively Member
nope.. Did not work..
Does not that code "puch" the ^-button two times?
SendKeys "{^ 2}A~", True
any other idéas?..
-
Jun 2nd, 2000, 01:04 AM
#5
Lively Member
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
-
Jun 2nd, 2000, 06:51 PM
#6
Thread Starter
Lively Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|