Sign in to follow this  
Followers 0
Bert

winmove

5 posts in this topic




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.

Share this post


Link to post
Share on other sites

I would think maximize it different than resize/move, because WinGetState ( "title" [, "text"] ) knows the difference. Just a guess on my part.

Share this post


Link to post
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
Sign in to follow this  
Followers 0