twbradio Posted January 19, 2005 Share Posted January 19, 2005 I understand that I can use the WinMove command within AutoIT to move a window, but I have to use the title of the window and not the window's handle. Is there a GUI command that will move a window, or is it possible to have WinMove recognize the GUI ID and move a window? I have a work around, a native command would just make this easier. Anyone have a TRS 80 Model III for sale? Link to comment Share on other sites More sharing options...
this-is-me Posted January 19, 2005 Share Posted January 19, 2005 $guihndl = GuiCreate("test") GuiSetState() sleep(5000) WinMove($guihndl, "", 0, 0) sleep(2000) Who else would I be? Link to comment Share on other sites More sharing options...
twbradio Posted January 21, 2005 Author Share Posted January 21, 2005 Thank you very much - I didn't see this in the documentation (yet - I know that it is an ongoing work), and it has saved several lines of code for me.Tom Brown$guihndl = GuiCreate("test")GuiSetState()sleep(5000)WinMove($guihndl, "", 0, 0)sleep(2000)<{POST_SNAPBACK}> Anyone have a TRS 80 Model III for sale? Link to comment Share on other sites More sharing options...
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