예제 #1
0
        public ScriptHandler(string file)
        {
            // Initializing script and loading script file

            try
            {
                ahk = new AutoHotkey();
                doc = XDocument.Load(file);
                ReadScripts();
            }
            catch (FileNotFoundException e)
            {
                Console.WriteLine("Script file not found. " + e);
            }
        }
예제 #2
0
        public ScriptHandler(string file)
        {
            // Initializing script and loading script file

            try
            {
                ahk = new AutoHotkey();
                doc = XDocument.Load(file);
                ReadScripts();
            }
            catch (FileNotFoundException e)
            {
                Console.WriteLine("Script file not found. " + e);
            }
        }