tags:

views:

147

answers:

1

In Autohotkey,

I want to position my Gui window to right bottom of the screen but how?

For illustrate,

+--------------------------------------+
|   Desktop (screen)                   |
|                                      |
|                                      |
|                        +----------+  |
|                        |   Gui    |  |
|                        |  window  |  |
|                        |          |  |
|                        |          |  |
|                        +----------+  |
+--------------------------------------+
+2  A: 

You'll need to use the pre-defined width and height of the GUI with the internal variables A_ScreenWidth and A_ScreenHeight and force Param2 of Gui, Show as an expression to make it work. 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