Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending keystrokes to another program
Message
 
À
29/06/2006 09:01:58
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nouvelle-Écosse, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01132552
Message ID:
01132692
Vues:
12
>Yes, if they don't change it I do know the caption of the application.

OK, I'll post here one simple example that don't care about Caption, but when I go home I'll try to post other example that will wait of external application to run and then send keys:
DECLARE Integer Sleep IN WIN32API INTEGER lnPeriod
RUN /N NotePad
Sleep(1000) && One second
oWSH = CREATEOBJECT([WScript.Shell])
oWSH.SendKeys([This is a test])
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform