07-23-2012, 07:35 PM
My macro that works:
Macro FF close tab
Trigger F2 /FIREFOX![Help - how to add the trigger to the macro Help - how to add the trigger to the macro](images/qm/help.png)
Don't need a filter function. Just set program FIREFOX, like here. But with filter function also works, tested.
Macro FF close tab
Trigger F2 /FIREFOX
![Help - how to add the trigger to the macro Help - how to add the trigger to the macro](images/qm/help.png)
out "macro 'FF close tab' started"
;set focus to firefox, because Flash player may have it, and then Ctrl+W would not work
int w=win
Acc a.Find(w "DOCUMENT" "" "" 0x3010 2)
a.Select(1)
key Cw ;;Ctrl+W
Don't need a filter function. Just set program FIREFOX, like here. But with filter function also works, tested.