Appendix: Built-in Scripting Language Caution: Running a Math worksheet from inside another module will pause that module until the Math worksheet finishes. Consequently, use this function only when absolutely necessary to avoid decreasing the performance of the other modules. PostKey Posts key codes to the currently displayed project screen. 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 Recipe Executes the specified Recipe worksheet. Syntax Recipe( strFunction ) strFunction String tag specifing the operation to be performed and the Recipe worksheet to be used in the [Operation]:[Recipe sheet] format. Operations: Returned value Page 510 InduSoft Web Studio 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. Tag Name Expression PostKey( 0, 0x24, 0 ) Function Group Execution Windows Embedded Thin Client Recipe Module Activity Synchronous Supported Supported Supported Save Saves data to a data file.
Load Loads data from a data file. Delete Deletes a data file. Init Initializes a data file with a value of 0 in all the tags. 0 No error