Jump to content

Launching executable at right corner of screen


Recommended Posts

The GUICreate function has a left parameter that dictates the horizontal position of the GUI.

$left =700
$hGUI=GUICreate("some gui",100,100,$left)
GUISetState(@SW_SHOW, $hGUI)
while 1


If you increase the $left variable in the above example it will push the window to the right when it opens. 

You can also move an existing window with WinMove

WinMove ( "title", "text", x, y [, width [, height [, speed]]] )
Edited by Jfish

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...