GetScreenResolution

Top  Previous  Next

 

GetScreenResolution

 

Syntax

GetScreenResolution([out] WidthVar, [out] HeightVar);

 

Description

To get the desktop screen resolution.

 

Parameters

       WidthVar

               The variable name to receive the width information

       HeightVar

               The variable name to receive the height information

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("GetScreenResolution", "WidthVar,HeightVar");