
AutoShutdown 1.0.0.0
------------------------------------------------------------------------
				Plugin for Miranda IM 0.2.1 and +

	Plugin Info: ----------------------------
	| Version:     1.0.0.0
	| Filename:    autoshutdown.dll
	| Author:      H. Herkenrath (heikoherkenrath@web.de)
	| Description: Adds the possibility to shutdown Miranda IM
	|              or the computer after at a specified time.

	Contents: -------------------------------
	| Features, Requirements, Usage,
	| Installation, Bugs and Wishes, To-Do List, Version History,
	| Thanks, Translation, License and Copyright


Features
----------------------
	+ Shutdown Miranda IM or your computer after a specified time
	+ Offers the following possibilities: Close Miranda IM, Logoff, Restart,
	  Shutdown, Standby mode, Hibernate mode, Lock workstation
	+ The available possibilities are only shown if they are supported
	  on your system
	+ Displays a confirmation dialog which is shown for 30 seconds
	  to cancel the process
	+ Displays the countdown in a special window below contact list
	  (This feature needs the MultiWindow plugin)
	+ Plays a sound when the confirmation dialog is displayed
	+ Provides shutdown services for other plugins
	+ Supported plugins/tools:
	  Miranda Installer, PluginUninstaller, MultiWindow, TopToolBar


Requirements
----------------------
	-> Miranda IM 0.2.1+:
	Miranda IM is needed in the version 0.2.1 or greater.
	

Usage
----------------------
	"AutoShutdown" can be run via the main menu:
	"Main Menu" -> "Automatic Shutdown"

	The options to use "Hibernate mode" and "Lock workstation"
	are only available if your system supports it.
	All other options are only available if the are enabled.

	Enabling "Hibernate mode" on Windows ME/2000 and higher:
	"Control Panel" -> "Power Options" -> "Hibernate"
	To enable the Hibernate feature go to the Control Panel,
	double-click Power Options, and then click the Hibernate tab.
	Click to select the Enable Hibernate Support check box.


Installation
----------------------
	The best and easiest way to install this plugin is to use the
	installation tool "Miranda Installer".
	
	If you don't want to use that tool you can install this plugin
	manually, too.
	Just copy the file "autoshutdown.dll" into the "Plugins" directory
	in the Miranda IM folder. That's it!
	
	The files "AutoShutdown_Readme.txt" and  "AutoShutdown_License.txt" are optional
	and can be copied into the "Plugins" directory, too.

	The other file "AutoShutdown_Translation.txt" is mainly thought for translators.
 

Bugs and Wishes
----------------------
	Feel free to mail me your wishes about "AutoShutdown" and tell
	me all the bugs you may find.
	Please tell them to me via mail so I don't have to look
	everywhere around to find them. ;-) 
	My email address is: heikoherkenrath@web.de

	If you think a string is not grammatically correct or something
	please mail me, too. (English is not my first language.) 


To-Do List
----------------------
	? Add support for InitiateSystemShutdownEx() for Windows 2000+
	
	? When Windows XP+ running and computer is locked or if
	  Windows 95/98/Me/NT is running use EWX_FORCE flag
	  else use EWX_FORCEIFHUNG flag for shutdown process
	  (Problem: How to detect if the computer is locked?..anyone knows?)

	? Find a nice sound file to add as default sound
	  (Anybody has an idea?...please mail me proposals)

	? Support for "BossKey" plugin
	  -> Hold timer when bosskey pressed

	When implemented in the Tool "Miranda Installer":
	 o Install documentation files in "Docs\Plugins" directory
	 o Add script strings to language pack

	When implemented in "TopToolBar" plugin:
	 o Clean up toolbar button code


Version History
----------------------
	1.0.0.0		- Initial release


Thanks
----------------------
	* To Corsario (Angelo Luiz Tartari) for the first idea
	  of a shutdown plugin


Translation
----------------------
	Translation strings can be found in "AutoShutdown_Translation.txt".


License and Copyright
----------------------
	"AutoShutdown" is released under the terms of the GNU General Public License.
	See "AutoShutdown_License.txt" for more details.

	"AutoShutdown" is copyright 2004 by Heiko Herkenrath.



H. Herkenrath (heikoherkenrath@web.de)
