04-11-2015, 07:05 PM
Function FF_Macro2546
;/
function# iid FILTER&f
if(!wintest(f.hwnd "Top-Leiste" "TfrmTopBar")) ret -2
;f.hwnd2=child ;;enable this if using with not a keyboard trigger
;use one of these, which works better
if(!f.hwnd2 or !childtest(f.hwnd2 "" "ComboBox" f.hwnd)) ret -2 ;;the trigger will work when any ComboBox in that window is focused
;if(!f.hwnd2 or !childtest(f.hwnd2 "" "ComboBox" f.hwnd 0 "accName=Kennwort:")) ret -2 ;;use this if the accessible name is "Kennwort:"
;Here you can also test some other properties of f.hwnd2.
ret iid