iRunAtEvent

This tool will start an application given by the command line at a specified event. On every call, the tool will write a log (iRunAtEvent.log.txt) to the root dir. The arguments supported are:

  set appname eventtype   -sets the event eventtype to launch appname

  reset appname             -resets ALL events for appname

  list                      -list all known registered events and the applications to launch

Although there are unsupported events listed in the log file, this does not mean the tool does not support them. In realtity the OEM (in this case tested on an ITC 730) of the device decided not to fire them (drivers are responsible for events to fire). You can simply check with your device by using these unsupported events and see, if they work. Simply use the calculator app in your tests.

To document this in depth here is a log file of this nice tool here:

01.07.2005 14:05:03:

iRunAtEvent started

================================options
set fullPathExeName event will set app to run at event
sample: iRunAtEvent set “\Windows\pword.exe” NETCONNECT
reset fullPathExeName will reset all events set for app
sample: iRunAtEvent reset “\Windows\pword.exe”
list will dump a list of apps linked to events
sample: iRunAtEvent list
================================
known events:
TIMECHANGE
SYNCEND
ONACPOWER
OFFACPOWER
NETCONNECT
NETDISCONNECT
DEVICECHANGE
IRDISCOVERED
RS232DETECTED
RESTOREEND
WAKEUP
TZCHANGE
MACHINENAMECHANGE
================================
Unsupported Events:
IRDISCOVERED
NETCONNECT
NETDISCONNECT
OFFACPOWER
ONACPOWER
================================
\iRunAtEvent.exe
set
\windows\calc.exe
ONACPOWER
01.07.2005 14:05:03:
succes setting event
========== notification registered apps ================
Handle Status AppName Event Type
0x3002eea 0x0 repllog.exe NOTIFICATION_EVENT_NONE
0x6002e32 0x0 CALNOT.EXE NOTIFICATION_EVENT_NONE
0x5000aaf 0x0 clocknot.exe NOTIFICATION_EVENT_NONE
0x1d48 0x0 \\.\Notifications\NamedEvents\SSTimeChange NOTIFICATION_EVENT_TIME_CHANGE
0x6002eb2 0x0 \windows\calc.exe NOTIFICATION_EVENT_ON_AC_POWER <- found ******
0x5002eb6 0x0 \windows\calc.exe NOTIFICATION_EVENT_ON_AC_POWER <- found ******
0x50017dd 0x0 BlueEXE.exe NOTIFICATION_EVENT_WAKEUP
0x5000a02 0x0 btcc.exe NOTIFICATION_EVENT_WAKEUP
0x1d45 0x0 calnot.exe NOTIFICATION_EVENT_TIME_CHANGE
0x1d44 0x0 calnot.exe NOTIFICATION_EVENT_RESTORE_END
0x1d42 0x0 clocknot.exe NOTIFICATION_EVENT_RESTORE_END
0x1d43 0x0 clocknot.exe NOTIFICATION_EVENT_TIME_CHANGE
0x1d46 0x0 connmgr.exe NOTIFICATION_EVENT_TIME_CHANGE
0x1d47 0x0 connmgr.exe NOTIFICATION_EVENT_RS232_DETECTED
0x1d41 0x0 repllog.exe NOTIFICATION_EVENT_RS232_DETECTED
0x1d63 0x0 rtcupdate.exe NOTIFICATION_EVENT_TIME_CHANGE

Download code and binary: [Download not found]