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:
00679277
Views:
24
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

\
>>Thank you George for continuing to assist me. I am not sure I know what you mean by quotes and spaces. should it be ( in vfp):
>>commandline = "c:\program files\cadcam\cadcam.exe"
>>commandline= ["]+ commandline + ["}
>
>Yep! You got it.
>
>>And..... I have a new wrinkle that needs your talent.
>>If you double click on a file called c:\cadcam\my CadFile.cad, the file opens in the correct editor. I guess the install program made the proper associations for the cad files. How can I utilize WScript to simulate a double click on c:\cadcam\my CadFile.cad so it will open in the proper editor. Then I could use VFP to activate the editor and display the file.
>>
>>Dr. G. (Neil)
>
>Actually, the Shell object's Run method can do that for you too. Just send it the file name, and it'll open in the appropriate editor.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform