list of jobs = (123, 456, 789) for each running job process if process window title matches one of job list note job number is running go to next process endif endfor for each required job if not flagged as running create the job endif endfor