Read out Editor Resolution in Script

Hello!
My game is for a tablet with high resoltion size (2048x1536). The Editor fps slow down when testing so I have to use 4:3. However many UI Elements are then moved which I fixed by “Canvas Scaler (Script)”. However some aspects are set from code, for example GUI.Label position which I want to move as well.

How can I read out the actual Editor window size which is based for this position?

Screen.currentResolution always returns 1280 x 800 @ 60Hz (???)

I also found a way to read the desired resoltion/aspect (HVGA Portrait (),4:3…) but this is not the real resolution of the Editor window.

Thank you in advance!

Screen.width, Screen.height.

–Eric