Sign in to follow this  
Followers 0

Centering Windows.....

1 post in this topic

Can anyone out there tell me how to center windows on the screen?

I do not see a way to get the current resolution of the screen in AutoIt. If I did, I would use this data plus the size of the current window and a little math with a WinMove and I would be done. But I do not see the starting point.

Any suggestions on how to accomplish this?

I would like it to work for any resolution and hence the reason that I want to use a call to get the current screen resolution.

Thanks to any help I may get.


Share this post

Link to post
Share on other sites

Sign in to follow this  
Followers 0