Jump to content

Command to move a window


twbradio
 Share

Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

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