--- In [email protected], Alexander Cicovic
<[EMAIL PROTECTED]> wrote:
>
> Hello there,
>
> This is a pretty basic question but I don't seem to come up with any
> original ideas, so here it goes.
>
> I am spending a lot of time on certain sites and I am trying to
> monitor how much time per day I visit each site. What I actually need
> is to start a timer when specific window captions appear on the
> foreground and stop it when it goes background, exactly like the "Run
> when program of same exe name is foreground" timer option.
>
> Is there any way I can do this quickly and easily? Or do I absolutely
> need to do this through the monitor special list?

The simplest may be using event plugin:
e=event.createms(20,0,"_time_=_time_+20",?'activewindow "sitenm"')

The global variable _time_ is stored in ms.

Sean





Attention: PowerPro's Web site has moved: http://www.ppro.org



YAHOO! GROUPS LINKS




Reply via email to