Example data.
Number of antennas is equal to the number of buildings so you can just pick one by one sorted optimally.
Buildings divided into neighbourhoods with buildings requiring higher speeds closer to the corners.
| #s:: | |
| return | |
| #f:: | |
| if (WinActive("ahk_class Progman") || WinActive("ahk_Class DV2ControlHost") || (WinActive("Start") && WinActive("ahk_class Button")) || WinActive("ahk_class Shell_TrayWnd")) ; disallows minimizing things that shouldn't be minimized, like the task bar and desktop | |
| return | |
| WinGet, MinMax, MinMax, A | |
| If (MinMax = 1) | |
| WinRestore, A | |
| else |