Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the index of the current screen resolution.
index = GetCurrentResolution()
Takes[]
- Nothing
Returns[]
- Number index
- This value will be the index of one of the values yielded by GetScreenResolutions()
Example[]
message('The current screen resolution is ' .. ({GetScreenResolutions()})[GetCurrentResolution()])
Output:
The current screen resolution is 1024x768