Bom dia

(OK, that's the only thing I remember from the portuguese lessons which I had 3000 years ago

)
Code:
Gui, Show, w100 h100, MyStillDetectableWindowTitle
WinMove, MyStillDetectableWindowTitle,, 10, 10
Won't work?
Quote:
A GUI thread is defined as any thread launched as a result of a GUI action. GUI actions include selecting an item from a GUI window's menu bar, or triggering one of its g-labels (such as by pressing a button).
The default window number for a GUI thread is that of the window that launched the thread. Non-GUI threads use 1 as their default.
Whenever a GUI thread is launched, that thread's last found window starts off as the GUI window itself. This allows commands for windows and controls -- such as WinMove, WinHide, WinSet, WinSetTitle, and ControlGetFocus -- to omit WinTitle and WinText when operating upon the GUI window itself (even if it is hidden).
Clicking on a control while its g-label is already running from a prior click will have no effect and the event is discarded. To prevent this, use Critical as the subroutine's first line (however, this will also buffer/defer other threads such as the press of a hotkey).
The built-in variables A_Gui and A_GuiControl contain the window number and Control ID that launched the current thread. See their links for details.