DTI.Size

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands >

DTI.Size

MiniRobotLanguage (MRL)

 

DTI.Size

Get pysical Size of Desktop-Screens (Monitors)

 

 

Intention

 

This command will return the physical size in pixel of all connected "Monitors" (Desktops).

 

DTI.cd|$$NUM

FOR.$$NUA|1|$$NUM

  DBP. Monitor $$NUA has a Height of: $$HEI

  DTI.dw|$$NUA|$$WID

  DBP. Monitor $$NUA has a Width of: $$WID

  DTI.sz|$$NUA|$$HAA|$$WAA

  DBP. Monitor $$NUA has a Size of: $$HAA,$$WAA

NEX.

ENR.

 

 

clip0341

 

Syntax

 

 

DTI.Size[|P1][|P2]

 

 

Parameter Explanation

 

P1 - (optional) X-Size Result, Variable, local or Global. If omitted the Result will be placed on TOS.

P2 - (optional) Y-Size  Result, Variable, local or Global. If omitted the Result will be placed on TOS.

 

 

 

Example

 

'*************************************

' Example 1

'*************************************

DTI.cd|$$NUM

FOR.$$NUA|1|$$NUM

  DTI.dd|$$NUA|$$DEP

  DBP. Monitor $$NUA has a Depth of: $$DEP 

  DTI.df|$$NUA|$$FRE

  DBP. Monitor $$NUA has a Frequency of: $$FRE

  DTI.dh|$$NUA|$$HEI

  DBP. Monitor $$NUA has a Height of: $$HEI

  DTI.dw|$$NUA|$$WID

  DBP. Monitor $$NUA has a Width of: $$WID

  DTI.sz|$$NUA|$$HAA|$$WAA

  DBP. Monitor $$NUA has a Size of: $$HAA,$$WAA

NEX.

ENR.

 

 

Remarks

 

 

 

Limitations:

 

-

 

 

See also: