473,395 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Waiting for 3rd party program to reach a certain point

I am developing a program that will run a third party program, automate this program's actions, then close the program. The problem is, once this third party program is complete, it just sits there. There is no way to pick up whether or not the action is complete. I have thought about having my program wait a set amount of time for the 3rd party program to run, but this is too unpredictable. The 3rd party program can take anywhere from about 20 seconds to 5 minutes. I do not have the source code for the 3rd party program. Anybody have any ideas?

The 3rd party program essentially just unpacks some files into a folder - fyi.
Jun 14 '12 #1
1 1109
For a solution, I've created a bit of code using AutoIT, which has functions to read text that is displayed in any window. I had AutoIT search for a certain string that indicated that the 3rd party program was complete. In this case, the string "Completed."
Jun 14 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Rajesh Garg | last post by:
I will make it simpler to look... I have DB1 - as backup for day 1 LOg1 as backup of logs T1 T2 T3 T4 T5 ...some transaction on day 2 Now i backup again DB2 Log2
5
by: Jack | last post by:
Hi, I have a asp page which is pretty long. This consitst of various recordsets. My intention is to stop execution of a code at a cetain point and test one value prior to this point. Is there any...
3
by: Maileen | last post by:
Hi, I'm writing a VB.NET application. Before to use .NET technology i would like to be sure that .NET Framework is installed. I know where should i check in registry for that but i would like...
3
by: krishnakant Mane | last post by:
hello all. I have one simple query and may be that's to stupid to answer but I am not finding the answer any ways. I have a set of modules in my package and out if which one is my actual starting...
10
by: slider | last post by:
hey all, i have a set of numbers which looks like this 21551878283310414135344613310414135344613310468612568833104686125688331043180057716331044879441661331045148067733104487944166133104 ...
2
by: tom84 | last post by:
Hi, I'm trying to run a third party program from my python script using os.spawnl. The problem is that the program which I'm running expects all its input files to be in the directory from which...
1
by: jmDesktop | last post by:
I want to create my C# program to run in the background and detect when a program starts. In an interactive program, I know I can iterate through an array of Processes to find my process if I...
6
by: Bryn Moorhouse | last post by:
Hi there, I am a beginner at programming, and wanted to know how to remove text. For example, I am trying to get the username of the logged on user (e.g. Bryn)into a variable. I did this with ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.