18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix: Built-in Scripting Language<br />

Returned value<br />

No returned values.<br />

Examples<br />

Tag Name<br />

Expression<br />

Math( 6 )<br />

Caution: Running a Math worksheet from inside another module will pause that module until the<br />

Math worksheet finishes. Consequently, use this function only when absolutely necessary to avoid<br />

decreasing the performance of the other modules.<br />

PostKey<br />

Posts key codes to the currently displayed project screen.<br />

Function Group Execution Windows Embedded Thin Client<br />

PostKey Module Activity Synchronous Supported Supported Supported<br />

Note: This function cannot be used with Tasks or in the Global Procedures script.<br />

Syntax<br />

PostKey( numKeydownOrKeyup, numwParam, numlParam )<br />

numKeydownOrKeyup<br />

Numerical tag containing a 0 (to indicate a KeyDown event) or a 1 (to indicate a KeyUp event).<br />

numwParam<br />

Numerical tag containing key code to be sent.<br />

numlParam<br />

Numerical tag containing message lParam.<br />

Returned value<br />

No returned values.<br />

Examples<br />

Tag Name<br />

Expression<br />

PostKey( 0, 0x24, 0 )<br />

Recipe<br />

Executes the specified Recipe worksheet.<br />

Function Group Execution Windows Embedded Thin Client<br />

Recipe Module Activity Synchronous Supported Supported Supported<br />

<strong>InduSoft</strong> Web Studio Page 607

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!