1. idle computer

how can i find out that user didnt use computer for last say 10 minutes?
like screensaver. no mouse movement, keyboard presses, and also no hard
drive usage, if he is watching some video for example.

i can't think of what words to search on google to get code which does this.
any hint?

new topic     » topic index » view message » categorize

2. Re: idle computer

Hi tone,
    This is the method i know of but it is not easy. U will have to use
global hooks that track specific messages. The global hooks will not work if
used in ur application so u'll have to put them in a dll.

    Go and research on global hooks. If u have the sdk there is a program
that is used (spy.exe) that uses a similar method.

Jordah
----- Original Message -----
From: <tone.skoda at gmx.net>
To: "EUforum" <EUforum at topica.com>
Subject: idle computer


>
> how can i find out that user didnt use computer for last say 10 minutes?
> like screensaver. no mouse movement, keyboard presses, and also no hard
> drive usage, if he is watching some video for example.
>
> i can't think of what words to search on google to get code which does
this.
> any hint?
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>


---

new topic     » goto parent     » topic index » view message » categorize

3. Re: idle computer

Btw Tone, i forgot to say. This method can considerably slow ur applications
running but it works because it has to filter messages of all processes.

Jordah
----- Original Message -----
From: <jordah at btopenworld.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: idle computer


>
> Hi tone,
>     This is the method i know of but it is not easy. U will have to use
> global hooks that track specific messages. The global hooks will not work
if
> used in ur application so u'll have to put them in a dll.
>
>     Go and research on global hooks. If u have the sdk there is a program
> that is used (spy.exe) that uses a similar method.
>
> Jordah
> ----- Original Message -----
> From: <tone.skoda at gmx.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, January 23, 2003 10:22 PM
> Subject: idle computer
>
>
> > how can i find out that user didnt use computer for last say 10 minutes?
> > like screensaver. no mouse movement, keyboard presses, and also no hard
> > drive usage, if he is watching some video for example.
> >
> > i can't think of what words to search on google to get code which does
> this.
> > any hint?
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
>
> ---
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>


---

new topic     » goto parent     » topic index » view message » categorize

4. Re: idle computer

i knew of hooks but i was hoping there would be some easier and faster way
because i read somewhere in msdn that hooks are meant only for debugging.
it mustnt be slow because this app will sit in my taskbar all the time.

----- Original Message -----
From: <jordah at btopenworld.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: idle computer


>
> Btw Tone, i forgot to say. This method can considerably slow ur
applications
> running but it works because it has to filter messages of all processes.
>
> Jordah
> ----- Original Message -----
> From: <jordah at btopenworld.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Friday, January 24, 2003 1:40 AM
> Subject: Re: idle computer
>
>
> > Hi tone,
> >     This is the method i know of but it is not easy. U will have to use
> > global hooks that track specific messages. The global hooks will not
work
> if
> > used in ur application so u'll have to put them in a dll.
> >
> >     Go and research on global hooks. If u have the sdk there is a
program
> > that is used (spy.exe) that uses a similar method.
> >
> > Jordah
> > ----- Original Message -----
> > From: <tone.skoda at gmx.net>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, January 23, 2003 10:22 PM
> > Subject: idle computer
> >
> >
> > > how can i find out that user didnt use computer for last say 10
minutes?
> > > like screensaver. no mouse movement, keyboard presses, and also no
hard
> > > drive usage, if he is watching some video for example.
> > >
> > > i can't think of what words to search on google to get code which does
> > this.
> > > any hint?
> > >
> > >
> > > TOPICA - Start your own email discussion group. FREE!
> > >
> >
> > ---
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
>
> ---
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: idle computer

interesting idea, maybe ill do that
but i have screensave disabled, will have to enable it now

----- Original Message -----
From: <Patrick.Barnes at transgrid.com.au>
To: "EUforum" <EUforum at topica.com>
Subject: RE: idle computer


>
> Well, there are a lot of windows processes that will only work when the
> screensaver is running... the automated tasks like disk cleanup, defrag,
> etc...
>
> If you know what the screensaver is called (maybe look in the registry for
> that data) you can check to see if that process is running.
>
> That would be much quicker than hooks, I think.
>
> -----Original Message-----
> From: tone.skoda at gmx.net [mailto:tone.skoda at gmx.net]
> Sent: Friday, 24 January 2003 13:27
> To: EUforum
> Subject: Re: idle computer
>
>
> i knew of hooks but i was hoping there would be some easier and faster way
> because i read somewhere in msdn that hooks are meant only for debugging.
> it mustnt be slow because this app will sit in my taskbar all the time.
>
> ----- Original Message -----
> From: <jordah at btopenworld.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Friday, January 24, 2003 3:03 AM
> Subject: Re: idle computer
>
>
> > Btw Tone, i forgot to say. This method can considerably slow ur
> applications
> > running but it works because it has to filter messages of all processes.
> >
> > Jordah
> > ----- Original Message -----
> > From: <jordah at btopenworld.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Friday, January 24, 2003 1:40 AM
> > Subject: Re: idle computer
> >
> >
> > > Hi tone,
> > >     This is the method i know of but it is not easy. U will have to
> use
> > > global hooks that track specific messages. The global hooks will not
> work
> > if
> > > used in ur application so u'll have to put them in a dll.
> > >
> > >     Go and research on global hooks. If u have the sdk there is a
> program
> > > that is used (spy.exe) that uses a similar method.
> > >
> > > Jordah
> > > ----- Original Message -----
> > > From: <tone.skoda at gmx.net>
> > > To: "EUforum" <EUforum at topica.com>
> > > Sent: Thursday, January 23, 2003 10:22 PM
> > > Subject: idle computer
> > >
> > >
> > > > how can i find out that user didnt use computer for last say 10
> minutes?
> > > > like screensaver. no mouse movement, keyboard presses, and also no
> hard
> > > > drive usage, if he is watching some video for example.
> > > >
> > > > i can't think of what words to search on google to get code which
> does
> > > this.
> > > > any hint?
> > > >
> > > >
> > > > TOPICA - Start your own email discussion group. FREE!
> > > >
> > >
> > > ---
> > >
> > >
> > > TOPICA - Start your own email discussion group. FREE!
> > >
> >
> > ---
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
>
> TOPICA - Start your own email discussion group. FREE!
>
>
> ***********************************************************************
>
>
> ***********************************************************************
>
>
>
<snip>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu