Plugin: File Monitor
Launch Data (ActiveX Classname): PH_FileMon.phfilemon
Initialization Data: Enter the full path and filename of the INI file for this particular instance of the File Monitor plugin. If you're using the defaults, then this value will be: c:\program files\powerhome\plugins\phfilemon.ini
The PowerHome File Monitor plugin allows the user to specify up to 256 files to monitor for changes. It does this by monitoring the date/time stamp of the file. Any change to a monitored files date/time stamp will cause the plugin to fire an appropriate Generic Plugin trigger. If more than 256 files need to be monitored, then another instance of the plugin can be loaded for an additional 256 files to be monitored. Since the plugin runs in it's own thread, it takes no PowerHome resources.
Configuring the phfilemon.ini file:
  1. Open the phfilemon.ini file in Notepad. You'll need to configure the File Monitor plugin by modifying this file.
  2. Under [Setup] section, set the "FileCount" parameter to the number of files you will be defining in the INI file for monitoring.
  3. Under the [Files] section, set the full path and filename of the files you wish to monitor. If you wish to monitor 3 separate files, you will set the FileCount parameter to 3 and you will have 3 parameters beneath the [Files] section running from File1 to File3.
  4. Once you've finished editing your INI file, close and save the file.
Using the PowerHome File Monitor Plugin: