Announcement

Collapse
No announcement yet.

Homeseer shut down the computer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Homeseer shut down the computer

    Hi
    Can anyone please tell me if it is possible to get Homeseer to shut down the computer it is running on
    Thanks in anticipation
    David

    #2
    David, you can't post in the Script Library as replies are not allowed (this keeps the download area from getting cluttered).

    anyways, try shutdown /? from the command prompt, I see 3 possible useful syntaxes for you

    shutdown -s Shutdown the computer
    shutdown -r Shutdown and restart the computer

    check the help file for more options
    ---
    http://www.CocoonTech.com
    HSPRO 2.4 (ESXi 4.1) | my.Alert NEW | my.Trigger | HSTouch | ACRF2 | UltraM1G | BLWeather | BLLan | Rover
    (aka xplosiv)
    Do You Cocoon? Home Automation News, Tutorials, Reviews, Forums & Chat

    Comment


      #3
      Put this info in a file named reboot.bat and the create an event to run when you want it to shut down.

      <pre class="ip-ubbcode-code-pre">
      rem 0 = Log Off
      rem 1 = ShutDOwn
      rem 2 = Restart
      rem 4 = Forced
      rem 8 = Poweroff

      rem You can combine these shotdown options by totaling their value. E.g. 12 = Poweroff + Forced

      C:\WINNT\system32\RUNDLL32.EXE shell32.dll,SHExitWindowsEx 2
      </pre>

      -Rupp
      -Rupp
      sigpic

      Comment


        #4
        Sorry about that I should have known better
        Thanks for the help it is much appreciated
        Regards
        David

        Comment

        Working...
        X