
trainwreck
12 discussion posts
I have a function that resizes a certain window based on a percentage. THis works fine on my laptop which has a resolution of 3840x2160 but when I hook up to my ultrawide monitor which has a resolution of 3440x1440, it's too big.
Is it possible for a function to be aware of the resolution of the screen? That way, it could apply one set of percentages when I'm working on the laptop (natively) and a different set of percentages when I'm on the monitor? Does this have to be done custom in a script?

trainwreck
12 discussion posts
Keith, that would be much appreciated.

trainwreck
12 discussion posts
One is the Function and the other one (probably not necessary) shows the triggers that call it. I also have a button on my mouse to call it.
• Attachment [protected]: screenshot - 2019.09.24 - 14.03.15.png [56,422 bytes]
• Attachment [protected]: screenshot - 2019.09.24 - 14.03.37.png [26,192 bytes]
Does that script als work when installed on a terminal server (azure virtual desktop)? as far I understand it's a bit tricky to get the accessing client's properties, not?