Hi,
I want to be able to determine the resolution of the display on which ]my stack resides (it could be on one of two physical screens.
I have looked at screenrect however it doesn't seem to match the resolutions of my screens (main display is 2160 x 1440 and the second is 1920 x 1080). When my stack is on the second screen, screenrects gives me the following two lines:
0,0,1440,960
1440,0,2720,720
The loc of my stack is 2593,478
As you can see, screenrects doesn't match the resolution of either of my displays
Not sure what I am doing wrong
Any suggestions would be greatly appreciated
Cheers
Greg
Get resolution of display for stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Get resolution of display for stack
Hi Greg,
I suspect those are the physical pixel size of your screens, but maybe not the size set for display at the graphic card level.
Maybe you can try to set the rect of your stack to the value you get and see if that give you a fullscreen.
Once you have the screenrects, you can use the screen of stack "myStack" to get the number of the screen your stack is on.
I suspect those are the physical pixel size of your screens, but maybe not the size set for display at the graphic card level.
Maybe you can try to set the rect of your stack to the value you get and see if that give you a fullscreen.
Once you have the screenrects, you can use the screen of stack "myStack" to get the number of the screen your stack is on.