You are not logged in.
Pages: 1
pre-2.3
return array_length_1d(window_get_visible_rects(0,0,1,1))/8;
2.3+
return array_length(window_get_visible_rects(0,0,1,1))/8;
This returns the number of displays/monitors/screens on current PC.
Offline
Interesting. I was not even aware of window_get_visible_rects()
.
Abusing forum power since 1986.
Offline
I just discovered this function 15 minutes before I made this post, when searching how to detect two monitors. And it was mentioned somewhere on YYG community between words by someone, but totally overlooked by others...
Offline
Pages: 1