Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wintest when name is empty
#1
I understand that when in wintest window name is empty it implies "accept all". There exists a case of a third party application using an empty class #32770 window. I am in need to check in a filter function, namely :
Function FF_FlashFol_v0
Code:
Copy      Help
;/
;Allows starting macro only in certain window.
function# iid FILTER&f
_s.getwintext(f.hwnd)
if(empty(_s)) ret iid
;if(wintest(f.hwnd "" "#32770")) ret iid

I concluded to this workaround. I wonder whether I can still use wintest somehow.
Many thanks in advance for any suggestion.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)