howdy everybody...
is there anyway i can make the infopath form sleep from script, something
like WScript.Sleep(100)?
I am using WScript.shell ActiveXObject and executing an executable...I would
like to sleep while it executes
var grabber = shell.Exec("C:\\clipboard\\grabber.exe");
while (grabber.Status==0){
//wish i could go to sleep
}
Is this possible? thanx in advance- bolek
Do you mean like setTimeout() and setInterval()?

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
howdy everybody...
is there anyway i can make the infopath form sleep from script, something
like WScript.Sleep(100)?
I am using WScript.shell ActiveXObject and executing an executable...I would
like to sleep while it executes
var grabber = shell.Exec("C:\\clipboard\\grabber.exe");
while (grabber.Status==0){
//wish i could go to sleep
}
Is this possible? thanx in advance- bolek
Bolek Wisniewski - 29 Oct 2004 15:14 GMT
Hi Greg,
It says here that the setTimeout/setInterval method is used only on a
XMLHTTPRequest and with server communication...I only need to let an
executable located on the same machine as the infopath project finish
running. It just takes longer if i wait for the system interupt...so i would
like to signal it if i can -(if its possible in a simple way). - thanks
again, bolek
> Do you mean like setTimeout() and setInterval()?
>
[quoted text clipped - 11 lines]
>
> Is this possible? thanx in advance- bolek