07/08/04 22:32:52 0
>>303
WMIを使ったスリープ
//スリープ関数
function Sleep( mSec )
{
try {
var WMI = GetObject( "winmgmts:{impersonationLevel=impersonate}" );
var events = WMI.ExecNotificationQuery( "select * from __instancecreationevent where targetinstance isa 'Win32_NTLogEvent'" );
events.NextEvent( mSec );
} catch(e) {
return null;
}
}