I do this question because i don`t want to disturb the devs that already have a lot of work seeing Tickets $hGUI = GUICreate("AutoIt Bug") $Button = GuiCtrlCreateButton("Exit", 10, 10 ,100 ,40) GuiSetState() Do Until GuiGetMsg() = - 3 or GuiGetMsg() = $Button