![]() ~ MsgBox Count: %WinCount%`nList: %WinList% Now, WinList is a commadelimitered list of window IDs StringTrimRight, WinList, WinList, 1 Removes the last "," TileWindows(Input, InputType="ID", Orientation="Horizontal") ID/Class - Horiz/Verti/Grid TileWindows("Notepad", "Class", "Vertical") Maybe an "Auto" mode where the default is like this:ĩ: Top: L/M/R, Mid: R/M/R, Bottom: L/M/R. ![]() If anyone feels for doing the maths for a gridlike pattern (what's the logic of the sizes here?), go ahead. WinMove, ahk_id %CurID%, 0, %y%, %A_ScreenWidth%, %h%Īdded verticals and cleaned up a bit. ~ x := A_ScreenWidth-(A_ScreenWidth/i*c) If ((CurClass != ClassName) OR (!CurTitle)) InputBox, ClassName, Class name?, Enter a class name to tile Input a class name and all windows will be horizontally tiled. So, I made this function just to demonstrate it works. Does anyone agree it could be useful? The more agreeal, the faster I get to work on it. ![]() I liked the challenge, and think autotiling should be added to Sunny Windows - not only for class but also for X number of windows.
0 Comments
Leave a Reply. |