Hi! I am writing because I have problem with maximizing paint window with my AutoIT script. I have tried to add such commands : WinSetState("Bez tytułu - Paint","", @SW_RESTORE) WinSetState("Bez tytułu - Paint","", @SW_MAXIMIZE) or just WinSetState("Bez tytułu - Paint","", @SW_MAXIMIZE) None of it is working for me. There is no mistake in title of window PS. If there is an answer for my question anywhere please send me a link. I have been looking for it, but i have found only ways d