Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a keystroke to a hwnd window
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00889676
Message ID:
00889958
Views:
24
>Ok, this works, HOWEVER, I keep receiving the password is incorrect so what I am sending is not actually being sent like I think it is. I can see the keystrokes being entered but they are masked so I cannot verify it. I need to send a tilda ~ before the text and I've tried:
>
>lcsentence = "{~}"+"password"
>lcsentence = "~password"
>
>assuming the clear text of the password is 'password.' Is there a special way to send a tilda?

Tracy,

I'm afraid not. I can't find any reference to it in the scan codes. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/w98ddk/hh/w98ddk/keycnt_4fqr.asp

The ASCII value of the tilda is 126 or 0x7D, this is mapped to VK_F14 (the F14 key).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform