03-02-2010, 12:25 PM -
This was the best I could do. Excluding mozilla was important not to lose mouse gestures that are started with rightclicks in firefox.
I'm using desktop icons, but most of the time -also on the screenshots- I hide them using stardock fences.
Code:
SetTitleMatchMode, 2
#IfWinNotActive, ahk_class MozillaUIWindowClass
RButton::
MouseGetPos,,,winid
WinGetTitle, wintit, ahk_id %winid%
If wintit= Program Manager
Send, ^q
else
send {RButton}
#IfWinActive
return
I'm using desktop icons, but most of the time -also on the screenshots- I hide them using stardock fences.
Visit my deviantArt gallery: http://ethsza.deviantart.com