<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Making a function &amp;quot;sleep&amp;quot;</title><link>https://www.infopathdev.com:443/forums/thread/14376.aspx</link><pubDate>Sun, 12 Mar 2006 21:04:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14376</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14376</wfw:commentRss><description>You can use the setTimeout() javascript method within a custom task pane. I don't know if you'll be able to get the setTimeout() method to work from within your form code, but I know I have done it in a task pane before.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Making a function &amp;quot;sleep&amp;quot;</title><link>https://www.infopathdev.com:443/forums/thread/14375.aspx</link><pubDate>Sat, 11 Mar 2006 11:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14375</guid><dc:creator>pleky</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14375.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14375</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I need to "pause" my script when I generate a PDF, so let say that I need 10 to 20 seconds before sending an email with my generated PDF.&lt;br /&gt;&lt;br /&gt;And I'm just using jscript...</description></item><item><title>Re: Making a function &amp;quot;sleep&amp;quot;</title><link>https://www.infopathdev.com:443/forums/thread/14374.aspx</link><pubDate>Fri, 10 Mar 2006 22:12:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14374</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14374.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14374</wfw:commentRss><description>You could try Thread.Sleep in managed code.&lt;br /&gt;&lt;br /&gt;What are you trying to achieve?</description></item><item><title>Making a function "sleep"</title><link>https://www.infopathdev.com:443/forums/thread/12810.aspx</link><pubDate>Thu, 09 Mar 2006 12:06:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12810</guid><dc:creator>pleky</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12810</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I would like to make a function "sleep" to let an other process doing its job. WScript.Sleep looks nice, but it is not possible to use within Infopath.&lt;br /&gt;&lt;br /&gt;Is there an other solution ?&lt;br /&gt;&lt;br /&gt;Regards,</description></item></channel></rss>