Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Resizing Window Problem

$
0
0
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
[ autoit ]      
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?

Viewing all articles
Browse latest Browse all 12506

Trending Articles