RUNAPPATEVENT                                              Statement

RUNAPPATEVENT app, event

Description

RUNAPPATEVENT is used to launch a program in response to a specific operating system event. The required component, app, is command line text to be executed. The required component, event, is the system event that causes the program to be launched.

Event

Value

NONE

0

TIME_CHANGE

1

SYNC_END

2

ON_AC_POWER

3

OFF_AC_POWER

4

NET_CONNECT

5

NET_DISCONNECT

6

DEVICE_CHANGE

7

IR_DISCOVERED

8

RS232_DETECTED

9

RESTORE_END

10

WAKEUP

11

TZ_CHANGE

12

Example

REM RUNAPPATEVENT Example

'RUNAPPATEVENT launches a program triggered

'by a system event

RUNAPPATEVENT "\Windows\player.exe", 3

Related Items
Runappattime