Created
May 26, 2021 06:44
-
-
Save fanzeyi/dfc24f021ea942165242af91f3788389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
LWin & c::Send, ^c | |
LWin & v::Send, ^v | |
LWin & x::Send, ^x | |
LWin & a::Send, ^a | |
LWin & t::Send, ^t | |
LWin & w::Send, ^w | |
LWin & s::Send, ^s | |
LWin & 1::Send, ^1 | |
LWin & 2::Send, ^2 | |
LWin & 3::Send, ^3 | |
LWin & 4::Send, ^4 | |
LWin & 5::Send, ^5 | |
LWin & 6::Send, ^6 | |
LWin & 7::Send, ^7 | |
LWin & 8::Send, ^8 | |
LWin::Send, {} | |
LWin & Space::Send {RWin} | |
$*Tab:: | |
Getkeystate, Lwinstate, LWin, P | |
if Lwinstate = D | |
Send {LWin up}{Lalt down}{Tab} | |
else | |
Send {Tab} | |
return | |
~$*LWin up::Send {Lalt up} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment