ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Test for person using the computer?
Mark Gilmore
Sat, 19 Sep 1998 07:35:29 -0700

Troy, off the top of my head I only have one idea:
ECS could detect when a screen-saver window becomes
active or inactive, and then set start/stop timers
as appropriate - see the KEYBOARD-EVENT Type.
You will probably have use the class-name of
the window as described (since it probably
has no title).

Troy Carpenter wrote:
> 
> Hi everyone,
> 
> I'll admit to not looking in the manual before asking this, but here goes:
> 
> I want ECS to know if someone is using the computer in any way, shape, or form.
>  I know there is the keyboard key command, but it only detects you if you are
> using ECS.  What I need is a more "system" wide knowledge, similar to how
> screen savers know when to kick in after some time of inactivity.
> 
> I am trying to replace W95's SAGE (aka System Agent) and have been able to
> duplicate all necessary aspects of it with ECS except "wait x minutes after
> last use" (for those not familiar with System Agent, you can schedule a program
> to run at a certain time, but only after you have not used your computer for x
> number of minutes...eg: start task A at 2:00 AM AND I have not used my computer
> for 10 minutes).
> 
> I want to set a count-up timer which counts how long it has been since the last
> use of the computer, either via the keyboard or mouse, whether or not ECS is
> the active window or not, and use that time in my schedules.
> 
> I will also share what I learned today from the Microsoft web site so you too
> can get rid of SAGE and use ECS to schedule your scandisks and defrags (the two
> main programs that use SAGE functionality).
> 
> Troy

-- 
Mark Gilmore
Omnipotence
http://members.a2zsol.com/omnipotence.html

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.