<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands > DTI.Width |
MiniRobotLanguage (MRL)
DTI.Width
Get physical Width in Pixel of Desktop-Screens (Monitors)
Intention
This command will get the physical Width of each connected Monitor.
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.
Syntax
DTI.Width[|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
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:
•