[Solved] Help, convert fixed areas to percentage ones

'Sup KMers, how to convert hardcoded coordinates into modern "Screen" ones? so they work in a higher resolution monitor?

Plus, need to target only right part of screen, for main monitor

Hardcoded coordinates:

1200,300,600,700
for X, Y, Width, Height

So far read wiki and some posts but haven't found many examples

ok, this was fast,

This works:

X: SCREEN(0,Right,-20%)
Y: SCREEN(0,Top)
Width: SCREEN(0,Width,-70%)
Height: SCREEN(0,Height)

Decided to just mark the whole Height as target area, and have a higher Width just to be safe. Same for the Y coordinate, made it more lax.

so I'm giving myself a checkmark
Thanks @hello!

1 Like