--------------------------------------------------------------------------- 'OnDemand' - starts POPFile & an email client together 2 November 2007 --------------------------------------------------------------------------- This utility (OnDemand.exe) provides an alternative to always starting POPFile when Windows starts. It performs the following tasks: (1) start POPFile (v0.21.0 or later) if it is not already running (2) to avoid problems when a large corpus or database is used, an optional delay can be specified (in the range 0 to 300 seconds) to give POPFile time to start up and be ready to accept commands from the email client (3) start the specified email client (Outlook Express, Eudora, etc) (4) wait until the email client is shut down (5) shut down POPFile (or leave it running) The email client to be started, the optional delay and whether or not to stop POPFile when the email client is shut down are specified in the OnDemand.ini file stored in the same folder as the OnDemand.exe program. The utility will create OnDemand.ini when it is run for the first time. Comments (and an example) in OnDemand.ini explain how to use the file. The utility does not need to be stored in the same folder as the POPFile program file because it uses information stored by the POPFile installer. --------------------------------------------------------------------------- License: For terms and conditions, see the license supplied with POPFile. --------------------------------------------------------------------------- The latest version of this utility can be found at: http://www.sugelan.co.uk/popfile/download/test/ondemand.zip --------------------------------------------------------------------------- CHANGE HISTORY: 02-Nov-2007 (v0.1.0) Updated to use the latest library (with more robust Vista-compatible detection of active programs). 21-Oct-2007 (v0.0.9) Updated to use a more reliable method of detecting when POPFile is running. Also replaced several in-line functions with calls to the equivalent library functions (to simplify future maintenance). 05-Oct-2007 (v0.0.8) Rewrote string processing loop to make it work better when an MBCS input string is supplied. (v0.0.7 not used) 11-Sep-2007 (v0.0.6) Using new POPFile detection code which works properly when the utility is run by a "standard" user (previous versions only worked properly when run by users with "administrator" rights). 04-May-2007 (v0.0.5) Added Vista-compatible manifest document. Now using NSIS 2.22 to build the utility. 17-Sep-2006 (v0.0.4) Now built using NSIS 2.19 instead of NSIS 2.0. Version Information updated to match the format used by the current suite of POPFile utilities. 10-Dec-2005 (v0.0.3) Further icon improvements. 10-Dec-2005 (v0.0.2) Source code and icon improvements. 21-Nov-2005 (v0.0.1) First public release. --------------------------------------------------------------------------- Brian Smith ---------------------------------------------------------------------------