Some examples of handling [WMI] events through [TWAPI COM support]. See [TWAPI and WMI] for examples related to retrieving WMI data. [WMI] can be configured to monitor system events and send notifications to an event sink when the events occur. The examples below illustrate how to set up the event sink and associated handlers using [TWAPI COM support]. All examples assume you have initialized with package require twapi 1.0 ;# Note you need the 1.0 release from CVS set wmi [twapi::_wmi] and remember to do a $wmi -destroy at the end. ---- [Category Windows] | [Category System Administration]