Here's another sample...

code:
$API=CreateObject("wshAPIToolkitObject.ucATO")

? "This is a test..."
$rc=APISleep(2500)
? "Should have waited 2.5 seconds..."
exit

function APISleep($msecs)
$APISleep=$API.CallAPI("Kernel32.dll", "Sleep", $msecs)
endfunction



[ 21 June 2002, 23:06: Message edited by: Chris S. ]