Window Management: Move and Resize Windows Using Percentage

How can I effectively move and resize windows using percentages? While I am able to obtain the frame size, I would like the ability to make adjustments based on percentages, enabling me to utilize the macro across different screen resolutions.

Macro Image

Macro

Move Window.kmmacros (2.9 KB)

System

Keyboard Maestro 10.2 on macOS 13.3

See the SCREEN function.

Specific examples:

  • SCREEN(Main,Left,10%)
  • SCREEN(Main,Width)*80%

That would be the left and width values for using the middle 80% of the Main screen.