displaysize
public text v1 · immutableIf your display is using a resolution not listed above, it's very easy to compute the values you need for DisplaySize. Use "DisplaySize x y" where
x = (horizontal resolution)*0.254
and
y = (vertical resolution)*0.254
both rounded to the nearest integer. Again, the physical display's aspect ratio should be considered for non-square pixels.
For 1024x768, this would be
x=1024*0.254, or x=260
and
y=768*0.254, or y=195
so you would use "DisplaySize 260 195".