diff --git a/k7jis.ahk b/k7jis.ahk index 6dbfc7e..518d8f0 100644 --- a/k7jis.ahk +++ b/k7jis.ahk @@ -3,6 +3,8 @@ #Requires AutoHotkey v2.0 #SingleInstance Force +OnError MyErrorcallback + appName := "K7 JIS" DirCreate "icon" @@ -163,3 +165,9 @@ onTimer() Reload } } + +MyErrorcallback(Thrown, Mode) +{ + Reload + return 1 +}