Jump to content

Resizing Window Problem


Recommended Posts

hi ther, i have a problem with winmove

i need to resize at 686x494 1 window or more than one so i use this code

Opt ("WinTitleMatchMode", 2)

$var = WinList("hello")

For $i = 1 to $var[0][0]
$Pos = WinGetPos($var[$i][1])
If ($Pos[2]<>640) Then
winmove ($var[$i][1], "", $Pos[0], $Pos[1], 686, 494)
EndIf
Next

it resize the window but he cut the "inside" for example if the windows it's bigger he just cut the windows at the dimesion i need.

if i use the mouse, manually, in the bottom corner to resize the window works fine, also i can't use titlematch becouse every time the window/s are with ifferrent name.

any suggestion how to solve this?

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