PostKey

Posts key codes to the currently displayed project screen.

Function Group Execution Windows Embedded Thin Client
PostKey Module Activity Synchronous Supported Supported Supported
Note: This function cannot be used with Tasks or in the Global Procedures script.

Syntax

PostKey( numKeydownOrKeyup, numwParam, numlParam )
numKeydownOrKeyup
Numerical tag containing a 0 (to indicate a KeyDown event) or a 1 (to indicate a KeyUp event).
numwParam
Numerical tag containing key code to be sent.
numlParam
Numerical tag containing message lParam.

Returned value

No returned values.

Examples

Tag Name Expression
  PostKey( 0, 0x24, 0 )