Jump to content
Sign in to follow this  
magician13134

Aligning windows

Recommended Posts

magician13134

Hi, I've searched the forums and found nothing, and I've tried writing it myself, but I wasn't able to get it working. I want a program that allows me to line up my windows without any overlapping... I usually have about four windows of different sizes open at the same time... Any ideas?

Share this post


Link to post
Share on other sites
PsaltyDS

Hi, I've searched the forums and found nothing, and I've tried writing it myself, but I wasn't able to get it working. I want a program that allows me to line up my windows without any overlapping... I usually have about four windows of different sizes open at the same time... Any ideas?

Use WinList() to get a list of windows, WinGetPos() to get their current size and position (if interested), do the math with the macros @DesktopHeight and @DesktopWidth, set the new position and sizes with WinMove(). It's all in the help file.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
magician13134

I know how to use all those, and that I've tried it, but I can't think of how to.

Oh, I did a google search and found one. If you want one too, here it is (free):

http://www.cs.utoronto.ca/~iheckman/allsnap/

(I didn't know how to find out if a window was being moved anyway)

Could something like this help?

http://msdn2.microsoft.com/en-us/library/ms633519.aspx

Edited by magician13134

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  

×