; http://www.autohotkey.com/docs/misc/Remap.htm #SingleInstance force SendMode Input SetTitleMatchMode, 2 Menu, Tray, Icon, static.ico ;ListHotKeys ; quick scripts !F8:: WinMinimize A Return CapsLock:: Send {Escape} Return ; for windows terminal #IfWinActive ahk_class ConsoleWindowClass +Insert::Send !{Space}{e}{p} +PgUp::Send !{Space}{e}{l}{PgUp}{Enter} +PgDn::Send !{Space}{e}{l}{PgDn}{Enter} Return ; outlook #IfWinActive Microsoft Outlook !j::JoinMeeting() Return #IfWinActive Message ^Backspace::Send Thanks,{Enter}Patrick Return #IfWinActive ; more involved ^!F10::IqCenter() !4::Todo() !5::InBox() !6::Calendar() JoinMeeting(){ ClearAlt() Send ^{o} WinWait, Meeting Send !{a}{c}{Enter} Return } OutlookPlain(){ Send ^{r} WinWait, Message IfWinActive, Rich Text { Send !{o}{t}{Left}{Enter} } Return } IqCenter(){ Run C:\Iweb\iQueCenter\LogOn.exe WinWait, IQueue Flow Logon Send {p}{a}{t}{r}{i}{c}{k}{h}{tab} Return } InBox(){ ClearAlt() #IfWinNotActive, Microsoft Outlook WinActivate, Microsoft Outlook WinWait, Microsoft Outlook Send ^+{i} Return } Calendar(){ ClearAlt() #IfWinNotActive, Microsoft Outlook WinActivate, Microsoft Outlook WinWait, Microsoft Outlook Send ^{y} WinWait, Go to Folder Send, {c}{Enter} Return } Todo(){ ClearAlt() #IfWinNotActive, Microsoft Outlook WinActivate, Microsoft Outlook WinWait, Microsoft Outlook Send ^{y} WinWait, Go to Folder Send, {PgUp 4}{Down}{Enter} Return } ClearAlt(){ if GetKeyState( Alt, P ) = D { KeyWait, Alt } Return }