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 />

GetCursorY<br />

Gets the Y-coordinate of the mouse cursor on the screen.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetCursorY System Info Synchronous Supported Supported Supported<br />

Syntax<br />

GetCursorY()<br />

This function takes no parameters.<br />

Returned value<br />

This function returns the Y-coordinate of the cursor on the screen, or −1 if an error occurs.<br />

Examples<br />

Tag Name<br />

Expression<br />

GetCursorY( ) // Returned value = 768<br />

GetDisplayHorizontalResolution<br />

Gets the horizontal resolution (in pixels) of the display connected to the local station.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetDisplayHorizontalResolution<br />

System Info Synchronous Supported Supported Supported<br />

Syntax<br />

GetDisplayHorizontalResolution()<br />

This function takes no parameters.<br />

Returned value<br />

This function returns the horizontal resolution of the display as an integer.<br />

Examples<br />

Tag Name<br />

Expression<br />

GetDisplayHorizontalResolution() // Returned value = 1024<br />

GetDisplayVerticalResolution<br />

Gets the vertical resolution (in pixels) of the display connected to the local station.<br />

Function Group Execution Windows Embedded Thin Client<br />

GetDisplayVerticalResolution<br />

System Info Synchronous Supported Supported Supported<br />

Syntax<br />

GetDisplayVerticalResolution()<br />

This function takes no parameters.<br />

Returned value<br />

This function returns the vertical resolution of the display as an integer.<br />

Page 660<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!