Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking for a window tab in a filter function
#1
I am in need to check in a filter function whether a window's particular tan is present. The code I use for an ordinary non-filter function is :

Quote:Acc b.Find(hwnd "PAGETAB" "abcde" "class=winclass" 0x5)
if(b.a=0)
out "Tab not present

However this code does not work if in a filter function. Any advice is much appreciated.
#2
With some windows, accessible object functions (AOF) don't work in filter-functions. I don't know why. For example with .NET forms.
In some windows AOF don't work for some short time after the window is created. However in filter-functions we cannot wait.
Also can depend on whether using low-level trigger hook (look in Options).
Alternatively use control functions or messages, or "find image".
#3
Thank you very much, indeed!


Forum Jump:


Users browsing this thread: 1 Guest(s)