Open topic with navigation
|Example: ctrx_type||Keyboard Functions|
Emulates typing alphanumeric keys.
int ctrx_type( char *data, [filename,] CTRX_LAST );
|data||The alphanumeric key presses|
|filename||The name of the bitmap file containing a screen shot of the window. This file is located in the script directory under data/bitmap/.|
|CTRX_LAST||A marker that indicates the end of the argument list.|
The function ctrx_type emulates a user typing alphanumeric characters.
During recording, alphanumeric key presses are recorded until some other type of keyboard activity, such as mouse clicks or non-alphanumeric key presses.
Note: When typing is slow, VuGen may break up a typing session into successive invocations of ctrx_type. By manually editing the script, these calls can be concatenated. This will enable easier parameterization if you require the string to be substituted with a parameter.
Parameterization is available for all arguments of this function.