Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send a keystroke to a hwnd window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00889676
Message ID:
00889958
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform