Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API_AppRun vs. launch an app and wait
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00680456
Message ID:
00680660
Views:
173
>>Thanx,
>>
>>Now I have it. thanx, Any suggestions on how to check if an app that you launched with all of this scripting is still running. That would be very helpful.
>>
>Neil,
>
>Well, VFP won't get control back until the script finishes executing. Now if the script is controlling the application, it won't terminate until it's finished what it has to do. This should include terminating the app. However, if you wish the app left open, you could use something like my Is_Run32 from the download section. All it requires is the known portion of the title bar. You could simply put VFP into a loop while Is_Run32 is return a non-zero value.

I just downloaded is_run32 and it is just what the doctor ordered. You are amazing. Thank you. If you are ever in NY email me @ ngorin@GorinOrthodontics.com. I will buy you the biggest steak NY has to offer. Have a great weekend.

Dr. G. (Neil)
Previous
Reply
Map
View

Click here to load this message in the networking platform