Page 1 of 1

get("screen") - 2nd argument is NOT optional

Posted: 11 Nov 2024 21:17
by highend
You have to provide the second argument, otherwise the output will be empty and not something like: 1920|1080|96

Code: Select all

text get("Screen"); // => Empty!

Re: get("screen") - 2nd argument is NOT optional

Posted: 12 Nov 2024 11:03
by admin

Code: Select all

Syntax: "Screen", [width|height|dpi]
This means that you can choose between "width", "height" and "dpi" as the 2nd argument. Should have omitted the square brackets.

But I will take this as a wish and I will make it work as you expected.

Re: get("screen") - 2nd argument is NOT optional

Posted: 12 Nov 2024 12:38
by highend
:tup: