forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Problem Solved

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
chucks0
Newbie


Joined: 08 Jun 2002
Posts: 23

PostPosted: Thu Jun 13, 2002 7:48 pm    Post subject: Problem Solved Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group