<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands > DTI.Depth |
MiniRobotLanguage (MRL)
DTI.Depth
Count Desktop-Screens (Monitors)
Intention
This command will find our the Screen-Depth (how many Bits per Pixel) for each connected "Monitors" (Desktops).
' Get number of Desktops
DTI.cd|$$NUM
' Loop over all Desktops and get Depth
FOR.$$NUA|1|$$NUM
DTI.dd|$$NUA|$$DEP
DBP. Monitor $$NUA has a Depth of: $$DEP
NEX.
ENR.
Syntax
DTI.Depth|[P1]
Parameter Explanation
P1 - (optional) 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
NEX.
ENR.
Remarks
Limitations:
-
See also:
•