Don't worry about looking for anymore, Balala
I just saw with horror that the variable # SCREENAREAWIDTH @ n # does not always (often?) return the right value ,
so I will go back to the code to work on the trick you gave me for the number of active monitors.
OnUpdateAction = [! SetVariable ScreenWidthX "[MeasureScreenWidthX]"] [! WriteKeyValue "Variables" "ScreenWidthX" "[MeasureScreenWidthX]"]
Which returns the correct values
One question however, am I right if I say that:
-!SetVariable is applied in real time
-!WriteKeyValue is saved, but not applied until the next refresh?
Setvariable allowing me to update the current resolutions live, and WriteKeyValue, to find them at the next launch.
I will also try to centralize the variables much more, and the "functions" (less simple for this second) .
If you allow me, I will come back to you to possibly check the code, and optimize it if possible ...
But not tomorrow I think