<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands > DTI.Frequency |
MiniRobotLanguage (MRL)
DTI.Frequency
Get Screen Refresh Frequency per Monitor
Intention
This command will find our how many "Monitors" (Desktops) are connected to your Computer.
DTI.cd|$$NUM
FOR.$$NUA|1|$$NUM
DTI.df|$$NUA|$$FRE
DBP. Monitor $$NUA has a Frequency of: $$FRE
NEX.
ENR.
Syntax
DTI.Frequency|P1[|P2]
Parameter Explanation
P1 - Desktop/Monitor number 1-based
P2 - (optional) Variable for the result, 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:
•