When I create a guy and don't specify its x or y position, it's usually center-aligned.
I'm trying to find a way to make it right-aligned, so that its right border ends where the screen ends.
This method works, but I believe there is a better way:
Code: Select all
^F1::
pos := A_ScreenWidth - 100
Gui, Show, w100 h500 x%pos%
return
What I also tried was this:
Code: Select all
^F2::
Gui, Show, w100 h500, Right
return
Regards