Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Acc object and Reg expr
#2
Regexp and wildcard cannot be used with numeric properties.

I see 2 ways:
1. Call Find or child multiple times with different id. Slow.
2. Use callback function.

Code:
Copy      Help
Acc a.Find(w "WINDOW" "3: Tenor Sax" "class=Afx:*" 0x1005 0 0 "" &sub.Callback_Acc_Find)


#sub Callback_Acc_Find
function# Acc&a level cbParam

int k=GetWinId(child(a))
out k
if(k>=65285 and k<=65286) ret 0 ;;found
ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)