Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LAlt & j::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Left}
- Else If GetKeyState("LShift")
- Send +{Left}
- Else If GetKeyState("LCtrl")
- Send ^{Left}
- Else If GetKeyState("RAlt")
- Send !{Left}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Left}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Left}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Left}
- Else
- Send {Left}
- Return
- LAlt & u::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Left 4}
- Else If GetKeyState("LShift")
- Send +{Left 4}
- Else If GetKeyState("LCtrl")
- Send ^{Left 4}
- Else If GetKeyState("RAlt")
- Send !{Left 4}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Left 4}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Left 4}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Left 4}
- Else
- Send {Left 4}
- Return
- LAlt & l::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Right}
- Else If GetKeyState("LShift")
- Send +{Right}
- Else If GetKeyState("LCtrl")
- Send ^{Right}
- Else If GetKeyState("RAlt")
- Send !{Right}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Right}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Right}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Right}
- Else
- Send {Right}
- Return
- LAlt & o::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Right 4}
- Else If GetKeyState("LShift")
- Send +{Right 4}
- Else If GetKeyState("LCtrl")
- Send ^{Right 4}
- Else If GetKeyState("RAlt")
- Send !{Right 4}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Right 4}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Right 4}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Right 4}
- Else
- Send {Right 4}
- Return
- LAlt & i::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Up}
- Else If GetKeyState("LShift")
- Send +{Up}
- Else If GetKeyState("LCtrl")
- Send ^{Up}
- Else If GetKeyState("RAlt")
- Send !{Up}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Up}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Up}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Up}
- Else
- Send {Up}
- Return
- LAlt & 8::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Up 4}
- Else If GetKeyState("LShift")
- Send +{Up 4}
- Else If GetKeyState("LCtrl")
- Send ^{Up 4}
- Else If GetKeyState("RAlt")
- Send !{Up 4}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Up 4}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Up 4}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Up 4}
- Else
- Send {Up 4}
- Return
- LAlt & k::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Down}
- Else If GetKeyState("LShift")
- Send +{Down}
- Else If GetKeyState("LCtrl")
- Send ^{Down}
- Else If GetKeyState("RAlt")
- Send !{Down}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Down}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Down}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Down}
- Else
- Send {Down}
- Return
- LAlt & ,::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Down 4}
- Else If GetKeyState("LShift")
- Send +{Down 4}
- Else If GetKeyState("LCtrl")
- Send ^{Down 4}
- Else If GetKeyState("RAlt")
- Send !{Down 4}
- Else If WinActive("ahk_class TaskSwitcherWnd")
- SendInput {LAlt Down}{Down 4}
- Else If WinActive("ahk_class MultitaskingViewFrame")
- SendInput {LAlt Down}{Down 4}
- Else If GetKeyState("RAlt") and GetKeyState("LShift")
- Send +!{Down 4}
- Else
- Send {Down 4}
- Return
- LAlt & h::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{Home}
- Else If GetKeyState("LShift")
- Send +{Home}
- Else If GetKeyState("LCtrl")
- Send ^{Home}
- Else
- Send {Home}
- Return
- LAlt & SC027:: ; semicolon
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{End}
- Else If GetKeyState("LShift")
- Send +{End}
- Else If GetKeyState("LCtrl")
- Send ^{End}
- Else
- Send {End}
- Return
- LAlt & y::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{PgUp}
- Else If GetKeyState("LShift")
- Send +{PgUp}
- Else If GetKeyState("LCtrl")
- Send ^{PgUp}
- Else
- Send {PgUp}
- Return
- LAlt & p::
- If GetKeyState("LShift") and GetKeyState("LCtrl")
- Send +^{PgDn}
- Else If GetKeyState("LShift")
- Send +{PgDn}
- Else If GetKeyState("LCtrl")
- Send ^{PgDn}
- Else
- Send {PgDn}
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement