Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send key to another application
Message
 
 
À
29/07/2003 02:25:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00814435
Message ID:
00814463
Vues:
25
I don't know if it would work, but you can try to do this with WSH.
oShell = Createobject("wscript.shell")
oShell.AppActivate("...")
oShell.SendKeys("...")
For the list of keys see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthsendkeys.asp.
You can also use Win API but it requires much more coding.

>example :
>
>i have windows title "Signon to AS/400" where USER ID and Password it's must be entry by default user,
>
>question :
>
>can i send key from my app to that window title so i can send user id and password?
>
>thank's for advice
>
>
>regard
>
>wahyu
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform