Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard emulation under programatic control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00678501
Message ID:
00679286
Vues:
25
>Hi George,
>
>I hope you are still out there. I need you. I am using the scripting host to sendkeys to my cad cam app. The cad cam app responds to everyone of the sendkeys. One of the senkeys causes a model dialog to open. That is what I want. However, once the model dialog is open the sendkeys stop working. What am I missing and how do I communicate with the modal dialog with in the cad cam app.
>
>Neil

Admittedly, I've never tried dealing with a modal dialog spawned by the application, so I can only hazard a guess. So what follows is just what I'd try first.

I'd use the AppActivate method, with the title of the spawned modal dialog, issuing a Sleep call for a second or so. Then I'd try SendKeys().

If this works, please let me know.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform