mohan93 Posted September 2, 2014 Posted September 2, 2014 Guys, I have written a script, complied and got an executable. On double clicking, I want my executable GUI to launch right side of my screen. How to i achive this ? please assist. Cheers,
Jfish Posted September 2, 2014 Posted September 2, 2014 (edited) 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 WEnd 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 September 2, 2014 by Jfish Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now