Created
October 23, 2024 04:18
My AHK skript
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
#F1:: | |
SetInputLang(0x0409) | |
Sleep, 100 | |
SoundPlay, %A_WinDir%\Media\Speech On.wav | |
ToolTip, EN | |
SetTimer, RemoveToolTip, -1000 | |
Return | |
#F2:: | |
SetInputLang(0x0419) | |
Sleep, 100 | |
SoundPlay, %A_WinDir%\Media\Speech On.wav | |
ToolTip, RU | |
SetTimer, RemoveToolTip, -1000 | |
Return | |
#F3:: | |
SetInputLang(0x422) | |
Sleep, 100 | |
SoundPlay, %A_WinDir%\Media\Speech On.wav | |
ToolTip, UA | |
SetTimer, RemoveToolTip, -1000 | |
Return | |
^Space::Send {Media_Play_Pause} | |
^Right::Send {Media_Next} | |
SetInputLang(Lang) | |
{ | |
WinExist("A") | |
ControlGetFocus, CtrlInFocus | |
PostMessage, 0x50, 0, % Lang, %CtrlInFocus% | |
} | |
^!u:: | |
clipboard := "" | |
send ^{c} | |
clipWait, 0.3 | |
stringUpper, clipboard, clipboard | |
send ^{v} | |
return | |
^!l:: | |
clipboard := "" | |
send ^{c} | |
clipWait, 0.3 | |
stringLower, clipboard, clipboard | |
send ^{v} | |
return | |
^!t:: | |
clipboard := "" | |
send ^{c} | |
clipWait, 0.3 | |
stringLower, clipboard, clipboard, T | |
send ^{v} | |
return | |
^`:: | |
Send, ^#{F24} | |
TrayTip, , Touchpad toggled | |
SetTimer, HideTrayTip, -1000 | |
return | |
^Up::Send {Volume_Up} | |
^Down::Send {Volume_Down} | |
HideTrayTip() { | |
TrayTip | |
} | |
RemoveToolTip: | |
ToolTip | |
return | |
XButton1::MButton |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment