ECS 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] Help with Scripts
lhelgerson
Fri, 2 Jan 2004 17:27:21 -0600

What operating system are you running? I think I know a way to reboot XP.

Leland
lhelgerson@surplushunter.net

---------- Original Message ----------------------------------
From: Mark Gilmore <mark@markgilmore.net>
Reply-To: ecs@netbloc.com
Date:  Fri, 02 Jan 2004 14:58:54 -0800

i don't know off-hand how to reboot.

create a CHOICE Object (which I will name "X") whose choices are in 
TIME.CHC (Choices="FILE:time.chc").
script:
         if  update  is  Clock.Sunset
         then  X  set  Clock.Sunset
         then  X  subtract  30

then compare to X inst of Clock.Sunset

At 05:34 PM 1/2/2004 -0500, you wrote:

>I'm looking for help in creating the following 2 things I want done with a 
>script.
>1.  Reboot the computer at a certain time of the day.
>2. How to tell a light to turn on 30 minutes prior to sunset.
>
>Thanks for your help.
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003

Mark Gilmore
http://OmnipotenceSoftware.com 




  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
.