Jump to content

winmove


Bert
 Share

Recommended Posts

not sure on that. Let me give a example.

run("notepad.exe", "", @SW_MAXIMIZE)
sleep(1000)
$w = "Untitled - Notepad"
WinMove($w, "", -200, 20)
MsgBox(0, "Is this Right?", "Notice the notepad window has the maximize attribute, but is part way off the screen? Is it supposed to do this?", 10)
WinSetState($w, "", @SW_RESTORE)
sleep(1000)
WinSetState($w, "", @SW_MAXIMIZE)
sleep(2000)
WinClose($w)

This code demonstrates what I'm talking about.

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...