here is a little script for pidgin
Code:
#SingleInstance Force
#NoEnv
#Persistent
Menu, Tray, Icon, C:\Program Files\Pidgin\Pidgin.exe
Menu, Tray, NoStandard
Menu, Tray, Tip, Pidgin Script 1.0
;Pidgin Script 1.0
;Controls
;Win Key + X Exit Script
;Win Key + Z Show \ Run Pidgin
;WheelUp or WheelDown Ctrl + Tab in Conversation Window
;Win Key + Middle Mouse Circle Pidgin Windows
GroupAdd, Pidgin, ahk_class gdkWindowToplevel ; Group Pidgin Windows
#x::ExitApp
#Mbutton::
GroupActivate, Pidgin, r
return
;Show or Run Pidgin
#z::
IfWinExist ahk_class gdkWindowToplevel
WinActivate
else
Run "C:\Program Files\Pidgin\Pidgin.exe"
return
#IfWinActive, ahk_class gdkWindowToplevel
WheelUp::
Send, {Ctrl Down}{Tab}{Ctrl Up}
WheelDown::
Send, {Ctrl Down}{Tab}{Ctrl Up}
return
if Pidgin is minimized in the tray don't work the show Buddy List