Re: monitor a group events

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: name (nospam_at_user.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 05:05:28 -0500

For instance the javascript date object

give clues, that MS wsh will output the 'correct'

sequence of montg|day|year anyway.

-------------

Given that you find HOW TO input into

the object date the proper parameters.

===========================

So go for the e.g. new Date()

and look for your heart.

---------------------
If you need hard cases look for Dr. Stockton (UK)
website ("all times are London").

---------------

"The way you put it in, they way it comes back".

"Bo Rong" <rong_bo@trendmicro.com.cn> wrote in message
news:Ot1rzwg0EHA.2060@TK2MSFTNGP10.phx.gbl...
> Thank you.
>
> But I can't find any solution.
>
> Could you give me a code fragment?
>
> "name" <nospam@user.com> wrote in message
> news:%235ZXblg0EHA.1564@TK2MSFTNGP09.phx.gbl...
> > "Microsoft Windows Script Technologies"
> >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vtoriMicrosoftWindowsScriptTechnologies.asp
> >
> >
> >
> >
> >
> >
> >
> >
> > "name" <nospam@user.com> wrote in message
> > news:u2zCBjg0EHA.1524@TK2MSFTNGP09.phx.gbl...
> > > "creation and deletion"
> > >
> > > Unless you delete a process, there will not be such event.
> > >
> > > ----------------------------------------------
> > >
> > >
> > > Processes go their way.
> > >
> > > --------------
> > >
> > > But this is not a definitive answer.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > "Bo Rong" <rong_bo@trendmicro.com.cn> wrote in message
> > > news:%23rlc4bg0EHA.2040@tk2msftngp13.phx.gbl...
> > > > Hi, Everyone,
> > > >
> > > > I hava a script to monitor process creatation.
> > > >
> > > > But I wonder how to monitor multiple events in a script such as
> process
> > > > creation and deletion.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Thanks.
> > > >
> > > > // script
> > > > var com = ".";
> > > > var ns = "\\root\\cimv2"
> > > >
> > > > var service = GetObject( "winmgmts:\\\\" + com + ns );
> > > > var wql = "select * from __InstanceCreationEvent within 2 where
> > > > TargetInstance ISA 'Win32_Process'";
> > > >
> > > > while( true )
> > > > {
> > > > WScript.Echo( "Waiting for a new instance of win32 process to
> > > start..." );
> > > > var eventSrc = service.ExecNotificationQuery( wql );
> > > > var eventObj = eventSrc.NextEvent();
> > > > WScript.Echo( "A new instance of " + eventObj.TargetInstance.Name +
"
> > ("
> > > +
> > > > eventObj.TargetInstance.ExecutablePath + ") " + " was just
> started!" );
> > > > }
> > > >
> > > >
> > >
> >
>
>



Relevant Pages

  • Re: AJAX sites and WSH
    ... I have a pretty good understanding of what it is (javascript and XML). ... However, after doing tons of online research, I am still wondering if AJAX sites still use the WSH to interpret all javascript that is passed from the server back to the client, no matter how incrementally? ... Does this 'engine' take the place of or bypass the WSH in any way? ... If you use JScript or VBScript in Windows Script Host or in a HTML application or in Internet Explorer or in ASP then it is always the same Active Scripting engines Microsoft provides. ...
    (microsoft.public.scripting.wsh)
  • Re: Automating search for words in a website using WSH
    ... I am not able to automate the ... You could use the batch file below to search for your words It's not script ... since he is already doing everything else inside of WSH it would an extra ... The default WSH languages (VB Script and Javascript) ...
    (microsoft.public.scripting.wsh)
  • Internet Explorer stuern
    ... dass die Navigation auf dieser Seite über ... Leider kommt das Acrobat Webcapture nicht mit Javascript ... Ich müsste also theoretisch jede Seite ausdrucken, ... Kann man disesen Vorgang durch WSH automatisieren. ...
    (microsoft.public.de.german.scripting.wsh)
  • Re: [a,b].join() !== + a + b; // for some a and b
    ... WSH does not run JavaScript; it runs JScript, ... in IEx but not in Firefox also give errors in WSH. ... I will probably do most of my JavaScript for WSH and for Nitro Pro ...
    (comp.lang.javascript)
  • Re: testing for 2007 time changes?
    ... I have written a small script to test for time zone issues: ... The job is easy in javascript, where the offset from GMT is available ... It should be easy to port the javascript from Web to WSH. ...
    (microsoft.public.scripting.vbscript)