コード例 #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);
            }
        }