Is there anyway to unfocus the currenct active window?
Well firstly, making a window lose focus sounds really useless and unnecessary.Quote:
why would that help?
WinActivate(_WinAPI_GetDesktopWindow())
;~ ControlClick() $windows = WinList() If $windows[0][0] > 1 Then WinActivate($windows[2][1])
It is too slow, for a click i need like 500msQuote:
ControlClick() doesn't focus the window. Are you sure that ControlClick() triggers the problem (it might be a bug)?
It should be possible to 'restore' the focus by focusing the second top window:
Code:;~ ControlClick() $windows = WinList() If $windows[0][0] > 1 Then WinActivate($windows[2][1])
If i hide the window control click will not work anymore, and i can't take a snapshot too.Quote:
forget that its to slow. already tryed it and i produce faster code than you^^
@SW_HIDE ?