Skip to content

Instantly share code, notes, and snippets.

@ColonelBuendia
Created October 15, 2018 04:47
Show Gist options
  • Save ColonelBuendia/7f85bbaadef592a1b79a551a1794627b to your computer and use it in GitHub Desktop.
Save ColonelBuendia/7f85bbaadef592a1b79a551a1794627b to your computer and use it in GitHub Desktop.
[Overlay] Context sensitive help menu in autohotkey with same button activate and kill #ahk #overlay
#IfWinActive ahk_class AutoHotkeyGUI
Esc::GUI,Destroy
Capslock::GUI,Destroy
return
#IfWinActive
#IfWinActive ahk_class XLMAIN
Capslock::
SetCapslockState, Off
Gui, Add, Text,YM,
Gui, Font, S15 Cyellow Bold, Verdana
Gui, Add, Text,YM, Excel
Gui, Font, S10 Cyellow Bold, Verdana
Gui, Add, Text,,My Menu...Sht+F1
Gui, Add, Text,,R. click+Scroll=volume
Gui, Add, Text,,R. click+Mbutton 3/4 = Alt Tab
Gui, Add, Text,,Wheel left - back
Gui, Add, Text,,Wheel right - ctrl+w
Gui, -Caption
Gui, Color, 884488
Gui, Show, x20 y200, Trans
WinGet, active_id, ID, Trans
WinSet, AlwaysOnTop, On, ahk_id %active_id%
WinSet, Transparent, 190, ahk_id %active_id%
WinSet, ExStyle, +0x20400,ahk_id %active_id%
Return
#IfWinActive
#IfWinActive ahk_class MozillaWindowClass
Capslock::
SetCapslockState, Off
Gui, Add, Text,YM,
Gui, Font, S15 Cyellow Bold, Verdana
Gui, Add, Text,YM, Bookmarklets
Gui, Font, S10 Cyellow Bold, Verdana
Gui, Add, Text,, Print
Gui, Add, Text,, CSV Append
Gui, Add, Text,, tables
Gui, Add, Text,, instapaper clean
Gui, Add, Text,, viewsourcechart
Gui, Add, Text,, EnglishPlease
; Gui, Add, Text,, Quix/Print Library Window
; Gui, Add, Text,, Ctrl Sht M Rspnsonive design
; Gui, Add, Text,, Sht+F4 JS scratchpad
; Gui, Add, Text,, F9 Reader view
; Gui, Add, Text,, F7 Caret
Gui, Add, Text,YM,
Gui, Font, S15 Cyellow Bold, Verdana
Gui, Add, Text,YM, Custom Search
Gui, Font, S10 Cyellow Bold, Verdana
Gui, Add, Text,,Pin
Gui, Add, Text,,SEC
Gui, Add, Text,,finviz
Gui, Add, Text,,pin
Gui, Add, Text,,gmail
Gui, Add, Text,,contacts
Gui, -Caption
Gui, Color, 884488
Gui, Show, x20 y200, Trans
WinGet, active_id, ID, Trans
WinSet, AlwaysOnTop, On, ahk_id %active_id%
WinSet, Transparent, 190, ahk_id %active_id%
WinSet, ExStyle, +0x20400,ahk_id %active_id%
Return
#IfWinActive
CapsLock::
SetCapslockState, Off ; Turn CapsLock off after it was pressed
Gui, Add, Text,YM,
Gui, Font, S15 Cyellow Bold, Verdana
Gui, Add, Text,YM, Keys
Gui, Font, S10 Cyellow Bold, Verdana
Gui, Add, Text,,Overlay Menus.......Win+`
Gui, Add, Text,,---- regular click taskbar
Gui, Add, Text,,-----firefox custom one
Gui, Add, Text,,-----excel custom one
Gui, Add, Text,,Search ---- capslock then
Gui, Add, Text,,-----x custom searches
Gui, Add, Text,,-----------x alone- google searches
Gui, Add, Text,,------------xgmail custom searches
Gui, Add, Text,,------------xsec custom searches
Gui, Add, Text,,------------xContacts custom searches
Gui, Add, Text,,-----l launch things
Gui, Add, Text,,e everything search
Gui, Add, Text,,------exe:
Gui, Add, Text,,-----*.xl
Gui, Add, Text,,-----content:
Gui, -Caption
Gui, Color, 884488
Gui, Show, x20 y200, Trans
WinGet, active_id, ID, Trans
WinSet, AlwaysOnTop, On, ahk_id %active_id%
WinSet, Transparent, 190, ahk_id %active_id%
WinSet, ExStyle, +0x20400,ahk_id %active_id%
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment