<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT><BR>>>Hi !<BR><BR>>>"server busy"
c'est souvent du au temps de lancement de ms-word</DIV>
<DIV>>> "server busy" it's often because ms-word is slow to begin to
run.</DIV>
<DIV>>>Ajoute/Add "time.sleep(5)"</DIV>
<DIV>>>Michel Claveau</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Hello Michael and thank your for responding,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>This is what I do before I get the "Server Busy"
message:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>#Setting TopMargin</FONT></DIV>
<DIV><FONT size=2>wordApp.ActiveDocument.PageSetup.TopMargin = 5</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>where wordApp is my Dispatch object.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I 've already tried time.sleep() after setting the Margin
which resulted </FONT></DIV>
<DIV><FONT size=2>to a "server busy" message and then the script
"slept".</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Also, I tried time.sleep() before setting the Margin which
resulted </FONT></DIV>
<DIV><FONT size=2>to make the script wait and then to get the "server busy"
message.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I need something like:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>while waiting for margin to be set:</FONT></DIV>
<DIV><FONT size=2> time.sleep()</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any suggestions? </FONT></DIV>
<DIV><FONT size=2>Anyway, thanks again!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Vax</FONT></DIV>
<DIV><FONT size=2>____________________<BR><A
href="mailto:b_papadopoulos@iris.gr">b_papadopoulos@iris.gr</A><BR><A
href="mailto:vax@cls.gr">vax@cls.gr</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><BR></FONT> </DIV></BODY></HTML>