Jump to content
Sign in to follow this  
FrancescoCameli

Resizing Window Problem

Recommended Posts

FrancescoCameli

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?

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.