How to use percentage in the axis of GUI positioning Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
whats_up
Posts: 86
Joined: 29 Apr 2018, 05:09

How to use percentage in the axis of GUI positioning

23 Oct 2021, 02:02

I have a simple "show" action of GUI, and I can make it in the center of X axis ...

Code: Select all

Gui, One: Show, Center y800 NoActivate, %text%
... but how to make it for 70 (or 80) % in the Y axis?

Thanks.
User avatar
mikeyww
Posts: 26886
Joined: 09 Sep 2014, 18:38

Re: How to use percentage in the axis of GUI positioning  Topic is solved

23 Oct 2021, 05:34

Code: Select all

Gui, One:Show, % "NoActivate y" 0.7 * A_ScreenHeight, %text%
User avatar
whats_up
Posts: 86
Joined: 29 Apr 2018, 05:09

Re: How to use percentage in the axis of GUI positioning

23 Oct 2021, 10:06

mikeyww wrote:
23 Oct 2021, 05:34

Code: Select all

Gui, One:Show, % "NoActivate y" 0.7 * A_ScreenHeight, %text%
Awesome, thanks!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Decar, doodles333, mikeyww and 216 guests