Created
October 3, 2023 11:23
-
-
Save pansila/132d6be5b1476113bdaa993f23fb88a4 to your computer and use it in GitHub Desktop.
my autohotkey script
This file contains 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
#\::{ | |
SendMessage 0x0112, 0xF140, 0, , "Program Manager" | |
Sleep 1000 | |
SendMessage 0x0112, 0xF170, 2, , "Program Manager" | |
} | |
#+p::run "shutdown.exe /r /fw /t 0" ; reboot to bios | |
#+r::run "explorer.exe ::{645FF040-5081-101B-9F08-00AA002F954E}" ; Recycle bin | |
#+s::run "explorer.exe shell:startup" | |
F8::WinSetAlwaysOnTop -1, "A" | |
#HotIf MouseIsOver("ahk_class Shell_TrayWnd") | |
WheelUp::SoundSetVolume "+10" | |
WheelDown::SoundSetVolume -10 | |
MButton::SoundSetMute -1 | |
MouseIsOver(WinTitle) { | |
MouseGetPos ,, &win | |
return WinExist(WinTitle " ahk_id " Win) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment