|
-
Oct 10th, 2003, 03:42 PM
#1
Thread Starter
Hyperactive Member
how do I emulate arrow keys
hi,
I want to make a program that emulates the arrow keys,
I want to be able to run this program (the one I'm making) and have the another program that is being run, effected by the key pressing.
I know I can do normal key presses using sendkeys.send() but I am not able to use the arrow keys this way? I have read the forums to find 'keys.left' function but this is not able to be used in sendkeys as it just creates the number 39 in a textbox instead of moving the cursor...
any help on this one?
-
Oct 12th, 2003, 09:10 PM
#2
Lively Member
Hi,
Is it the application source code available. If do, they you have to make the changes to the code so it can accept the command more efficient than the keyboard events.
By using the keyboard event. sometime it will trigger and sometime it wouldn't. It depends on the form focus (windows put the events to the focus form). Unless you know to tap the windows keyboard event from the kernel level.
-
Oct 13th, 2003, 01:10 PM
#3
Thread Starter
Hyperactive Member
so, what your trying to say is that, if I had my program running in the background then if I used sendkeys.send(vbleft) then it would actually emulate the press of the left arrow key, instead of generate a value?
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
|