Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard emulation under programatic control
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00678501
Message ID:
00679286
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform