11-25-2007, 10:07 PM
i have a general trigger for mouse right click.
firefox ignores 'eat', context menus still show up.
i ask that, because i want to use your Mouse Chords engine.
like:
right + left -> key E
right + middle -> key H
FF_rightclick
firefox ignores 'eat', context menus still show up.
i ask that, because i want to use your Mouse Chords engine.
like:
right + left -> key E
right + middle -> key H
FF_rightclick
;/
function# iid FILTER&f
str cla.getwinclass(f.hwnd)
str childclass.getwinclass(f.hwnd2)
str win_exe.getwinexe(win());err
int+ _xm = xm
int+ _ym = ym
int+ lhwnd = f.hwnd
if(!f.hwnd2) ret -2
sel _s.getwinexe(f.hwnd) 1
,case "qm"
,,if cla="#32768" && win_exe="explorer"
,,,mac "menu_right"
,,if(GetWinId(f.hwnd2)=1287)
,,,_s.getsel()
,,,out _s
,case "Dreamweaver"
,,if(GetWinId(f.hwnd2)=59419) mac "dw_close_internal"
,;case "scite"
,,;if(GetWinId(f.hwnd2)=354) mac "scite_tab"
,case "flash"
,,if(GetWinId(f.hwnd2)=100)
,,,mac "flmx_lib_right"
,case "explorer"
,,if(wintest(f.hwnd "" "Shell_TrayWnd"))
,,,if(childtest(f.hwnd2 "Quick Launch" "ToolbarWindow32" f.hwnd))
,,,,mac "quicklaunch"
,,,,ret -1
,case "firefox"
,,out "firefox"
;
,case else ret -2 ;;default action in other programs
,,