Information générale
Catégorie:
Fonctions Windows API
I thought the same thing but it does not work. Man, this is an app breaker. Any other ideas?
Neil
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement