Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Example

The following control changes appearance when a file named report is placed in the /doc/ftp/pub/ directory. When the file is not there, the NoReport.pm icon is displayed; when the file is there, Report.pm is displayed.

CONTROL MonitorReport
 {
 	CONTAINER_NAME				container_name
 	TYPE							ICON
     MONITOR_TYPE				file
 	FILE_NAME					/doc/ftp/pub/report
 	ICON							NoReport
 	ALTERNATE_ICON				Report
 }