; ENVIRONMENT ;------------------------------------------------ #Requires AutoHotkey v1.0 #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ;#Warn ; Enable warnings to assist with detecting common errors. ;DetectHiddenWindows, On #SingleInstance, Force SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ;SetKeyDelay, 500 CoordMode, ToolTip, Screen CoordMode, Mouse, Screen ;#NoTrayIcon ; Notes/Extra Info/#Includes ;------------------------------------------------ ; #Include C:\Users\%A_Username%\Syncthing\Scripts\AutoHotKey\RadialMenu\My codes\My Global Variables.ahk ;Menu, Tray, Icon, %A_ICODir%\ICONAME ; VARIABLES ;------------------------------------------------ ; MAIN SCRIPT ;------------------------------------------------ run %comspec% /k shutdown /r /f /t 0 ; Functions ;------------------------------------------------ ; Misc ;------------------------------------------------ ; Escape::ExitApp