dotfiles/windows/restart_explorer.ahk

10 lines
402 B
AutoHotkey
Raw Normal View History

2023-06-26 11:52:23 +02:00
#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.
#^r::
RunWait taskkill /f /im explorer.exe
Run explorer.exe
return