I'd like to use a hotkey to resize a few child windows, like filters, every time I open them. I've tried 3 AHK scripts using both relative and absolute position and they've worked on every window except PT. If the cursor is over PT, it just turns into the loading icon and doesn't move, and if I start it away from the window it follows its route but the cursor doesn't change at the edge of the window. I tried running PT and the script as admin. I'm open to any alternative if there's no fix for this. Thanks!
WinMove, X, Y
WinMove, WinTitle, WinText, X, Y , Width, Height, ExcludeTitle, ExcludeText
MouseClickDrag, WhichButton, X1, Y1, X2, Y2 , Speed, Relative
#=::
WinGet, window, ID, A
InputBox, width, Resize window, Enter width:, , 170, 130
if (width != "")
{
InputBox, height, Resize Window, Enter height:, , 170, 130
}
WinMove, ahk_id %window%, , , , width, height
return