18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix: Built-in Scripting Language<br />

strScreen<br />

optNumID<br />

The name of the project screen to be verified.<br />

The specific instance number of the screen. (This number is assigned when the screen is opened<br />

with the Open function.)<br />

This is an optional parameter. If no value is specified, then the default ID is 0.<br />

Returned value<br />

0 Screen is not open.<br />

1 Screen is open.<br />

Examples<br />

Tag Name<br />

Tag<br />

Tag<br />

Expression<br />

IsScreenOpen( "main" ) // Is "main" screen open<br />

IsScreenOpen( "main", 10 ) // Is "main" screen with ID 10 open<br />

IsTaskRunning<br />

Verifies that a background task is running.<br />

Function Group Execution Windows Embedded Thin Client<br />

IsTaskRunning Module Activity Synchronous Supported Supported Executed on Server<br />

Syntax<br />

IsTaskRunning(strTask)<br />

strTask<br />

The name of the task to be verified.<br />

Returned value<br />

0 Task is not running.<br />

1 Task is running.<br />

Examples<br />

Is the project viewer (Viewer.exe) running<br />

IsTaskRunning( "Viewer" )<br />

IsViewerInFocus<br />

Verifies that the project viewer (Viewer.exe) is in focus on the display.<br />

Function Group Execution Windows Embedded Thin Client<br />

IsViewerInFocusModule Activity Synchronous Supported Not supported Not supported<br />

Syntax<br />

IsViewerInFocus()<br />

This function takes no parameters.<br />

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

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

Saved successfully!

Ooh no, something went wrong!