AutoHotkey scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

30 lines
853 B

;
; General Settings
;
; Set default location and name convention for compiled scripts to use
;@Ahk2Exe-ExeName %A_MyDocuments%\AutoHotkey\bin\%A_ScriptName%
; Require AutoHotKey v2
#Requires AutoHotkey v2.0
; Install hooks to make sure script can get physical state of keys instead of logical state.
InstallKeybdHook
InstallMouseHook
; All hotkeys are implemented through keyboard hook to avoid script activating itself.
#UseHook
SetWorkingDir A_ScriptDir ; Ensures a consistent starting directory.
; MenuMaskKey is set to a virtual key that is defined by Windows as doing nothing
A_MenuMaskKey := "vkFF"
; If script is already running, just override it with the new version instead of asking
#SingleInstance force
; Send Mode
SendMode "Input"
SetKeyDelay -1
; Increase base number of max threads
#MaxThreads 20