GetDesktopDimension

Top  Previous  Next

 

GetDesktopDimension

 

Syntax

GetDesktopDimension([in] Type, [out] LeftVar, [out] TopVar, [out] RightVar, [out] BottomVar);

 

Description

To calculate the desktop dimension.

 

Parameters

       Type

               0 = Include a taskbar area

               1 = Exclude a taskbar area

       LeftVar, TopVar, RightVar, BottomVar

               The variable names to receive the left, top, right and bottom coordinates

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("GetDesktopDimension", "0,LeftVar,TopVar,RightVar,BottomVar");