Gui Window Positioning in Autohotkey

In Autohotkey,

I want to place the Gui window in the lower right screen, but how?

For illustration

+--------------------------------------+ | Desktop (screen) | | | | | | +----------+ | | | Gui | | | | window | | | | | | | | | | | +----------+ | +--------------------------------------+ 
+4
source share
2 answers

You will need to use the predefined width and height of the GUI with the internal variables A_ScreenWidth and A_ScreenHeight and make Param2 Gui show how the expression works. For example, if the width of the GUI is 900 and the height is 550:

 Gui, Show, % "x" A_ScreenWidth - 900 " y" A_ScreenHeight - 550 " w" 900 " h" 550, The GUI 
+4
source

You can easily do this using your own build tools using the autohotkey button.

This tool has drag and drop support to position your controls as you like.

Give it a try. You will not regret it. :)

No installation required, just run the file.

Smartgui

+2
source

Source: https://habr.com/ru/post/1304851/


All Articles