Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Explorer Hotkey
- #e::
- ; If there is no explorer already running
- IfWinNotExist, ahk_class CabinetWClass
- {
- ; Start explorer
- Run C:\Windows\explorer.exe
- ; Wait for it ...
- WinWait ahk_class CabinetWClass
- ; Set focus
- WinActivate
- }
- ; If explorer is already running
- Else{
- ; Set focus
- WinActivate
- Run C:\
- Send {Backspace}
- }
- Return
- ; Mouse Wheel inverter
- #MaxHotkeysPerInterval 200
- $WheelUp::
- Send {WheelDown}
- Return
- $WheelDown::
- Send {WheelUp}
- Return
- ; Global Key-Hijacks
- Capslock::Pause
- !q::Send !{F4}
- SetNumLockState, AlwaysOn
- !^l::send @
- ^y:: Send ^z
- ^+y:: Send ^+z
- #space::SendInput !{Space}
- #IfWinActive ahk_class CEFCLIENT ; Brackets
- ^ü::Send /
- ^!ü::Send \
- ^ö::Send ^!7
- ^!ö::Send ^!0
- ^ä::Send ^!8
- ^!ä::Send ^!9
- ^+::Send (
- ^!+::Send )
- ^#::Send {"}
- ^!#::Send {=}
- #IfWinActive ahk_class Photoshop ; Photoshop
- ^!y::Send ^!z
- ^+y:: Send ^+z
- ^y:: Send ^z
- #IfWinActive ahk_exe soffice.bin ; Open Office
- !ü::
- Loop,
- {
- send, ^+{f2}
- sleep, 200
- send {Right}
- sleep, 200
- send, ^v
- sleep, 200
- send, +{tab}
- send, {tab}
- send {Down}
- }
- !ä::exitapp
- #IfWinActive
- GroupAdd, BrowserGroup, ahk_class Chrome_WidgetWin_1
- GroupAdd, BrowserGroup, ahk_class MozillaWindowClass
- GroupAdd, BrowserGroup, ahk_class ApplicationFrameWindow
- #IfWinActive ahk_group BrowserGroup
- :*:#desktop::&frmIs_UseMobileContainer=0
- :*:#mobile::&frmIs_UseMobileContainer=1
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement