I would like to do something like this e.g.
variable=MonitorRefreshRate
I am surprised that there is not a command for this, if anyone can help i would be very very very happy as I have been banging my head on the wall here

Code: Select all
ExamineDesktops()
Frequency = DesktopFrequency(0)
If Frequency = 0
MessageRequester("Display Information", "There isn't any user set desktop frequency, the standard hardware frequency is used.")
Else
MessageRequester("Display Information", "Desktop's frequency: "+Str(Frequency)+" Hz.")
EndIfCode: Select all
ExamineDesktops()
f = DesktopFrequency(0)
If f = 0
MessageRequester("Display Information", "There isn't set any desktop frequency, the standard hardware frequency is used.")
Else
MessageRequester("Display Information", "Frequency of desktop: "+Str(f)+" Hz.")
EndIf
