Sleepy Copyright © 2003-2005 Sashazur, LLC.

Help Contents

License
How Sleepy works
Solving Problems

Reference
Tray Icon
Sleepy Screen Saver
Basic Settings
Time Source Settings
Advanced Time Source Settings
Advanced Settings
Add/Edit Event
Countdown Timer
Start Program
Logging
Compatibility with different versions of Windows
How Sleepy locks and unlocks
How Sleepy handles multiple users
How Sleepy handles Stand By and Hibernate
Using Sleepy on a network
Command line options
How to translate Sleepy


License

LICENSE AGREEMENT
Sleepy
Copyright © 2003-2005 by Sashazur, LLC

By purchasing, distributing, installing, or using Sleepy ('Sleepy'), you agree to all of the terms, disclaimers, and limitations of this license agreement.

This is only a limited, non-exclusive license. Sashazur, LLC is and remains the owner of all titles, rights and interests in the software.

If you do not agree to any of the terms, disclaimers, or limitations in this agreement, then you may not distribute, install or use Sleepy, and you must destroy all copies of it that you possess.

This License Agreement is governed by the law of the State of Oregon applicable to state contracts, the Oregon Uniform Trade Secrets Act, and any applicable federal Trademark, Copyright and Patent laws.

LICENSE TERMS

You may not use Sleepy for more than 30 days without purchasing it.

If you have purchased a single user license, then you may either install Sleepy on a single computer for use by one or more persons, or install Sleepy on multiple computers for use by a single person, but not both.

If you have purchased a multiple user ('site') license, then you may install Sleepy on a number of computers no greater than that indicated at the time of purchase, and one or more persons may use each computer on which Sleepy is installed.

You may distribute the original unmodified Sleepy setup program (available for download at http://www.iconico.com/sleepy), as long as you do not receive financial gain (or equivalent) from the distribution.

You may not lease, rent, lend, modify, reverse engineer, or disassemble Sleepy, or create derivative works based on Sleepy.

This License agreement is valid without a signature from Sashazur, LLC, and becomes effective upon your installation of the program.

WARRANTY DISCLAIMERS AND LIABILITY LIMITATIONS

Sleepy and its documentation are provided 'AS IS' with no warranties of any kind, whether express or implied.

Notwithstanding the foregoing, Sashazur, LLC and its agents cannot be held liable for any damages resulting from the use or misuse of Sleepy, or any defect in Sleepy or its documentation, including but not exclusive to compensatory, special, incidental, exemplary, punitive, or consequential damages.

You agree to defend and indemnify Sashazur, LLC and hold Sashazur, LLC harmless from all claims, losses, damages, complaints, or expenses connected with or resulting from your business operations.

Any liability of Sashazur, LLC will be limited solely to refund of the Sleepy purchase price.

TERMINATION

You may terminate this license at any time by informing Sashazur, LLC of your intention to do so.

If you violate any of the terms of this license, then Sashazur, LLC may terminate this license without any notice.

Upon termination, you must uninstall Sleepy from all computers and destroy any copies of it that you possess.

Back to contents


How Sleepy works

Sleepy runs invisibly in the background while you use your computer.

Details

See also: Advanced Settings
See also: Using Sleepy on a network
Back to contents


Solving Problems

Please Note: Also check the
Sleepy support web page at http://www.iconico.com/sleepy for the most up-to-date information.

My kid is managing to disable or avoid Sleepy somehow
The computer doesn't turn off after it shuts down
The computer restarts when it's supposed to shut down
The computer freezes or shows an error at shut down
The computer keeps running and doesn't shut down when it should
The computer doesn't start up when it should
The status message appears twice
Internet time sets the time wrong, or doesn't set the time at all
The Connect window appears after the computer starts
Start Program doesn't work
Can't use the Countdown Timer
Authenticode signature not found
A DLL was not found
Some other problem

Back to contents



My kid is managing to disable or avoid Sleepy somehow

To make it as difficult as possible for someone to disable or avoid Sleepy, you should:

Note: After you make any changes listed above, restart your computer to apply the changes.

Back to Solving Problems



The computer doesn't turn off after it shuts down

Try to shut down from the Start menu. Does the computer turn off? If it doesn't, then Sleepy won't be able to turn it off either. You may need to configure your computer to power off; follow the instructions below specific to your version of Windows.

To enable power off at shut down in Windows XP, 95, 98, and Me:

To enable power off at shut down in Windows 2000:

  1. Make sure you've installed the most recent Microsoft service pack (Sleepy was tested with SP4 for Windows 2000).
  2. Open the Power Options control panel.
  3. Click the APM tab (if this tab is missing, then advanced power management is not enabled on your computer. You may need to enable it in BIOS setup).
  4. Check Enable Advanced Power Management support.
  5. Click OK.
  6. Restart your computer.

To enable power off at shut down in Windows NT4:

  1. Make sure advanced power management is enabled on your computer. You may need to enable it in BIOS setup.
  2. Make sure you've installed the most recent Microsoft service pack (Sleepy was tested with SP6a for Windows NT4).
  3. Extract the file HAL.DLL.SOFTEX from the service pack you're using (run the service pack .exe with the /x command line option).
  4. Rename HAL.DLL.SOFTEX to HAL.DLL and copy it over the original HAL.DLL in \WINNT\SYSTEM32 (first rename the original to HAL.DLL.BAK in case you need to restore it later).
  5. Run Regedit and open the key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. In that key is the value PowerdownAfterShutdown (if it doesn't exist, add it as a string value). Change that value from 0 to 1.
  6. Exit Regedit.
  7. Restart your computer.

If you continue to have problems:

Back to Solving Problems



The computer restarts when it's supposed to shut down

Open Sleepy Settings and check your settings. If the settings are correct, then the problem is probably a hardware or Windows configuration issue. To correct it, follow the steps below specific to your version of Windows:

If you have Windows XP, 95, 98, or Me:

If you have Windows NT4 or 2000:

If you continue to have problems:

Back to Solving Problems



The computer freezes or shows an error at shut down

Errors are usually caused by a badly behaved program or bad driver software for a hardware device. If you suspect this, restart your computer, start the suspicious program if necessary, then try to shut down or restart from the Start menu. If the problem still happens, the best thing to do is to avoid using that program, and check to see if there is an updated version.

Back to Solving Problems



The computer keeps running and doesn't shut down when it should

Sleepy won't try to shut down the computer if:

If you didn't see any messages from Sleepy before shut down was supposed to happen, then chances are your settings are not what you think they are, or your computer's clock is wrong.

Back to Solving Problems



The computer doesn't start up when it should

Were you trying to use the Restart setting to turn the computer on? The Restart setting only works if the computer is already turned on; it's the same as the Restart option in the Start menu.

Some computers can be set up in BIOS to automatically turn on at a specific time; check your computer's manual.

Back to Solving Problems



The status message appears twice

This can happen if you use Internet time source and your computer's clock is wrong.

In this situation, Sleepy will start and show the status message based on the computer's clock. Then, as soon as Sleepy is able to read the time from Internet, if it sees that the computer's clock was wrong, it will re-display the status message with the correct time (and it may also show a different shut down event, depending on how wrong the clock was).

Back to Solving Problems



Internet time sets the time wrong, or doesn't set the time at all

Check the following:

Back to Solving Problems



The Connect window appears after the computer starts

If Sleepy tries to read Internet time without waiting for an existing Internet connection, the computer may ask you to connect to the Internet. To fix this, open Sleepy Settings, click Time Source..., click Advanced..., and check Wait for an Internet connection.

Back to Solving Problems



Can't use the Countdown Timer

Unless you change a setting, you can't use the Countdown Timer to make Sleepy shut down later than it normally would.

To change this, open Sleepy Settings, click Advanced..., and check the option Countdown timer can shut down later than scheduled time. Then restart the computer. After that change, you'll be able to use the Countdown Timer whenever you like.

Back to Solving Problems



Start Program doesn't work

Open Advanced Settings and make sure that the Start a program option is checked. Then click Details in the option to open the Start Program window.

Click Test. If you got an error, make sure the path is correct, and that any arguments are outside of the double-quote marks.

If Test worked, but the program still won't run before shut down, then check the following:

Back to Solving Problems



Authenticode signature not found

Authenticode signatures are an optional security feature included with some software.

If you see the message Authenticode Signature Not Found when you try to download Sleepy, it doesn't mean there's a problem; all it means is that Sleepy does not include this optional security feature.

Back to Solving Problems



A DLL was not found

If you saw the message WS2_32.DLL was not found when you tried to install Sleepy, then install a newer version of Microsoft Internet Explorer (recommended), or if you have Windows 95 only, install the Windows Socket 2 Update. Then run Sleepy setup again.

If a different DLL was missing, install the most recent service pack for your version of Windows. Service packs are available at Windows Update.

Back to Solving Problems



Some other problem

Go to the Sleepy web site and use the contact form to send a message to support. Please include as much detail as possible about what you were doing (or trying to do) when the problem occurred.

Please write in english if possible!

Back to Solving Problems

Back to contents


Reference

Tray Icon

The Sleepy tray icon is displayed in the system notification area, near the clock. Use the tray icon for quick access to Sleepy status and settings.

See also: Basic Settings
See also: Advanced Settings
See also: Countdown Timer
See also: Using Sleepy on a network
Back to contents


Sleepy Screen Saver

Sleepy includes a screen saver that you can use to shut down the computer it hasn't been used for a while. When the Sleepy screen saver starts, it starts another screen saver, waits a certain number of minutes, and then it shuts down the computer. You can select which screen saver to start and how long to wait before shutting down the computer. Like any other screen saver, if you begin using the computer while the screen saver is running, the screen saver will exit and the computer won't shut down.

To use the Sleepy screen saver:

  1. Open the Windows Display control panel (or right-click on an empty part of the screen and choose Properties), then click the Screen Saver tab.
    Or, open Sleepy Settings and choose Screen Saver from the More Settings menu.
    Or, right-click the Sleepy tray icon and choose Screen Saver from the menu.

  2. Choose Sleepy Shut Down from the Screen Saver list.

  3. Click Settings.

  4. Choose a screen saver from the list, and set the number of minutes. From now on, when the Sleepy screen saver starts, it will show that screen saver for that number of minutes, then it will shut down the computer.

  5. Optional: to change settings for the selected screen saver, click Settings. To preview it, click Preview.

  6. Click OK to close the screen saver settings.

  7. Click OK to close the display properties.

Notes:
• The Sleepy screen saver won't shut down the computer if the computer is in standby or hibernating. To check your computer's power saving settings, use the Power Options control panel, or click Power in the screen saver settings.
• If Sleepy is scheduled to shut down and the Sleepy screen saver is running, whichever shuts down first will succeed.
• The Sleepy screen saver's settings can be different for each user (including whether to use the Sleepy screen saver, which screen saver it should run, and how long it should wait before shut down).
• The Sleepy screen saver recognizes these advanced settings:
Automatically save changes to documents
Always force shut down
Power off at shut down
(the above settings apply to all users)

See also: Advanced Settings
Back to contents


Basic Settings

This shows the most common settings. If you change any settings, the new settings aren't applied until the next time your computer starts (you can change this in Advanced Settings).

See also: Advanced Settings
Back to contents


Time Source Settings

This window lets you choose how Sleepy keeps track of the current time and date. If possible, you should always have Sleepy get time from the Internet.

Notes:
• Sleepy won't try to read time from the Internet until you're connected. Once you're connected, Sleepy will stay on Internet time even after you disconnect.
• Even if you don't use Internet time, Sleepy will ignore any changes to the computer's clock until the next time the computer starts.
• If you use Internet time, then each time you connect to the Internet (even if your computer has an 'always on' connection), Sleepy will reset itself to the correct day and time, which may cause it to redisplay the status message.
• If someone changes the computer's clock settings, Sleepy will internally stay on correct time, even though the clock display may be wrong.

See also: Advanced Time Source Settings
Back to contents


Advanced Time Source Settings

This window lets you control advanced settings for Internet time.

Note:
• When Sleepy uses Internet time, it will shut down at the correct time whether or not you checked Set computer's clock.

See also: Time Source
Back to contents


Advanced Settings

This window has everything in Basic Settings, plus additional settings. Only the additional settings are listed here:

See also: Basic Settings
Back to contents


Add/Edit Event

This window adds a new event or edits the selected event. It's opened by the Add... and Edit... buttons in Advanced Settings.

See also: Advanced Settings
Back to contents


Countdown Timer

To use the countdown timer, open Sleepy Settings and choose Countdown Timer from the More Settings menu, or use the Countdown Timer menu item in the tray icon menu.

The timer lets you set Sleepy to shut down or restart the computer, or log off the current user, after a certain amount of time has passed. The minumum timer duration is 5 minutes; the maximum is 24 hours.

If Sleepy is already running, then the timer only can be used to shut down, etc. at a time earlier than Sleepy's next scheduled shut down time; this prevents cheating by using the timer to shut down later than scheduled.

To change this, check the Countdown timer can shut down later than scheduled time option in Advanced Settings (and then restart the computer to apply the change).

Note: The timer setting is temporary and only lasts until the computer shuts down. The next time the computer starts, Sleepy will use its normal settings again.

See also: Advanced Settings
Back to contents


Start Program

This window controls the settings for the Start a program option in Advanced Settings. It's opened by clicking Details... on the Start a program option.

Notes:
• The program only runs before Sleepy's scheduled shut down time. The program doesn't run when you shut down from the Start menu.
• The program won't run if there isn't enough time to run it (e.g. if you turned on the computer 3 minutes before shut down time, but Number of minutes... is set to 5).
• Sleepy will shut down even if the program is still running at shut down time. Make sure you set the number of minutes high enough to allow time for the program to finish.
• The program won't run if no user is logged on to the computer. With Windows XP, if more than one user is logged on via Switch User, then the program will run only in the current user's session.
• Sleepy won't show any error messages if it can't run the program. If the program doesn't run, either the program information is incorrect, or one of the above situations is preventing it from running.

See also: Advanced Settings
Back to contents


Logging

This window controls the settings for the Enable logging option in Advanced Settings. It's opened by clicking Details... on the Enable logging option.

Notes:
• Log files are named sequentially; e.g. SleepyLog_00000.log, SleepyLog_00001.log, etc.
• Sleepy writes timestamped log entries for the following operations:
  - Sleepy service task start/stop
  - User logon/logoff
  - Start program
  - Reset to next event
  - Initiating shutdown/restart
  - System shutdown
  - Lock/unlock
  - System standby/resume
  - Settings started/changed/exited
  - Password created/changed/removed/recovered
  - Uninstall/overinstall
  - Internet time read/clock set

See also: Advanced Settings
Back to contents


Compatibility with different versions of Windows

Sleepy works with Windows XP, 95, 98, Me, 2000, and NT4. For best results, make sure you have installed the most recent service pack for your version of windows. Service packs are available at Windows Update.

If you have Windows XP and multiple users are logged on with Switch User:

If you have Windows NT or 2000:

If your computer doesn't power off at shut down, see Solving Problems.

See also: Advanced Settings
Back to contents


How Sleepy locks and unlocks

The lock option is intended for situations where the computer must continue doing background processing, while still preventing anyone from using it.

When Sleepy locks the computer, any programs that were running continue to run, but the screen is blanked and the mouse and keyboard are ignored.

Depending on Sleepy's lock options, when you click Unlock you will see one of more of these choices:

After unlocking, the computer can be used normally (unless Sleepy required you to shut down/restart/logoff immediately), and you can manually shut down or restart via the Start menu without waiting for Sleepy to do it.

Notes:
• Change Sleepy's lock options to control which unlock choices are available.
• Sleepy will only lock if a user is logged on.
• A locked computer will stay connected to the Internet and can still be accessed if it's on a network.

See also: Advanced Settings
Back to contents


How Sleepy handles multiple users

If several people have accounts on one computer that uses Sleepy, then...

There are no user-specific settings

Limited/restricted users can't make changes:

If you use Switch User to log on multiple users (Windows XP only):

See also: Sleepy screen saver
See also: Using Sleepy on a network
See also: Advanced Settings
Back to contents


How Sleepy Handles Stand By and Hibernate

If your computer can stand by or hibernate, then...

See also:
Things to know
Back to contents


Using Sleepy on a network

If you install Sleepy on a computer that is on a network, then...

You can manage a group of computers that use Sleepy

You can install and uninstall silently

Note: If Sleepy 6.x is already installed, then performing a silent install will update Sleepy files to the most recent version, without changing Sleepy's language, settings, or status.

You can register from the command line

You can save and load settings from the command line

You can have Sleepy show helpful information to users

See also: How Sleepy handles multiple users
See also: Command line options
Back to contents


Command line options

Command line options to shut down, restart or log off (with optional delay)

Use the following command line options with slpstngs.exe to shut down or restart your computer:

 /shutdown Shuts down (and turns off) the computer.
 
 /restart Restarts the computer.
 
 /logoff Logs off the current user.
 
 /timer hh:mm Optional. Shut down or restart a specified number of hours/minutes from now (instead of immediately). See Countdown Timer for details.
 
 /force Optional. Use with /shutdown, /restart, or /logoff. Forces shut down or restart (doesn't prompt to save documents). Ignored if combined with /timer.
 
 /savedocs Optional. Use with /shutdown, /restart, or /logoff. Sleepy will save changes to any open documents before shut down/restart/log off. Ignored if combined with /timer.
 
 /nosavedocs Optional. Use with /shutdown, /restart, or /logoff. Sleepy discard changes toany open documents before shut down/restart/log off. Ignored if combined with /timer.
 
 Examples: Turn off the computer immediately (first save any documents):
"C:\Program Files\Sleepy\slpstngs.exe" /shutdown /savedocs
 
   Restart the computer immediately (without prompting to save documents):
"C:\Program Files\Sleepy\slpstngs.exe" /restart /force
 
   Log off the current user in 3 hours and 5 minutes:
"C:\Program Files\Sleepy\slpstngs.exe" /logoff /timer 03:05

Command line options for saving and loading settings

Use the following command line options with slpstngs.exe to save and load settings:

 /save file.ini Saves current settings into the file file.ini
 
 /apply file.ini Loads and applies settings from the file file.ini
 
 Examples: Save current settings to a file:
"C:\Program Files\Sleepy\slpstngs.exe" /save C:\files\weekly.ini
 
   Load saved settings from a file, and apply them:
"C:\Program Files\Sleepy\slpstngs.exe" /apply C:\files\weekly.ini

Command line options for install and uninstall

See Using Sleepy on a network for command line options related to install/uninstall.

Notes:
• Command line options must be all lowercase (as shown above).
• Command line options only work if user has administrator privileges.
• /shutdown will turn off the computer if the Power off at shut down option is checked in Advanced Settings.
• Unless you use /timer, /shutdown and /restart ignore the Start Program option in Advanced Settings.
• If /savedocs or /nosavedocs is omitted, and there are documents with unsaved changes, then shut down/restart/logoff won't continue until you respond to any Save Changes? prompts.
• /shutdown and /restart will force DOS and unresponsive programs to close.
• If Sleepy is off, settings from /apply take effect immediately; if Sleepy is on, settings from /apply don't take effect until the next time the computer starts.

See also: Using Sleepy on a network
Back to contents


How to translate Sleepy

Before you start, check the Sleepy web site to see if your language is already available; new languages may be added at any time. Note: At this time, Sleepy can't be translated into non-european languages (e.g., chinese, japanese, hebrew, arabic, etc).

You will need to translate 3 files:
• Language File: This is a text file (in Windows .ini format) with a .lng extension. It contains the text used in Sleepy's windows, dialogs, and messages.
• Help File: This is an HTML file with a .htm extension. It contains the Help for Sleepy.
• License Agreement: This is an ANSI text file with a .txt extension. It contains the license agreement text shown when installing and registering.

Follow these instructions to translate:

  1. Install Sleepy in english (you must install in english; if you install a different language these instructions won't work).

  2. Open the folder \Program Files\Sleepy and make copies of the files english.lng, english.htm, and license.txt. Keep these copies in the same folder as the originals.

  3. Rename the copies of the .lng and .htm files to the name of your language (e.g., if translating to spanish, you could rename them to espanol.lng and espanol.htm). The file name doesn't have to be an exact match to the language name, and it should use only english characters (e.g., e is OK, ê is not OK).

  4. Rename license.txt to <langname>-license.txt, where <langname> is the name of your language (e.g. if translating to spanish as in the above example, rename to espanol-license.txt).

  5. Translate the copies. To edit the .htm file, use any HTML editor. To edit the .lng and .txt files, we recommend you use a text editor program like Notepad that doesn't insert line breaks or other formatting. Windows XP/2000/NT Users: Save files in ANSI format, not unicode.

  6. Run the language checker at \Program Files\Sleepy\CHECKLANG.EXE. Use it to check your .lng file against the original english.lng. If it shows any errors, fix them and check again.

  7. If the language checker displays a Langid= value, update that line in your .lng file.

  8. Run Sleepy Settings and try all the commands and make sure that no text is cut off or missing. Also make sure to restart your computer, and watch while Sleepy shuts down and restarts, to make sure that all messages are correct.

Your translation could be added to the next update of Sleepy. If you would like to see your translation added, use the contact form on the Sleepy web site to contact support.

Back to contents



Copyright © 2003-2005 Sashazur, LLC.