chucks0 Newbie
Joined: 08 Jun 2002 Posts: 23
|
Posted: Thu Jun 13, 2002 7:48 pm Post subject: Problem Solved |
|
|
Thanks Chris,
Based on your suggestion, I solved the problem using the following code:
OPTION SLEEPTIME,250
REPEAT
IF @WINEXISTS("Digital Signature Not Found")
WINDOW SEND,"Digital Signature Not Found","Y"
END
WAIT 0
UNTIL @NOT(@WINEXISTS("Please Wait . . ."))
EXIT
I placed this code in a separate script and call it just before attempting the printer install but after I open the Please Wait dialog. I then launch the printer install with the WAIT parameter.
RUN @SHORTNAME(@PATH(%0))"DrvSign.exe"
RUN %%Cmd,WAIT
DIALOG CURSOR
DIALOG CLOSE
Once script execution continues, and the Please Wait dialog is closed, the second app that watches for the Digital Signature message also closes. I had to use a second script because my printer install routine doesn't actually open any windows itself.
Thanks for the help. |
|