How to get the number of displays available ?

edited November 2017 in How To...

Hello, I'd like to have my sketch adapt to the number of screens (display) of the computer. When more than one screen, I display information on the secondary screens, using the multiple sketches technique (, and the new fullScreen(displayNumber) function in these secondary sketches. But I didn't find any way to computationally know the number of available screens, so as to open the right number of secondary sketches automatically... I guess that the inner code of fullScreen() knows this number. It would be useful to give access to it in the langage. Thanks for any hint.

Sign In or Register to comment.