コード例 #1
0
ファイル: AhkDll.cs プロジェクト: fullofvoid/GameBot1
        public static Thread ThreadFromText(string Code, bool UseDebug)
        {
            if (UseDebug)
            {
                return(AhkDllFlat.ahktextdll(Code, "/Debug", ""));
            }

            else
            {
                return(AhkDllFlat.ahktextdll(Code, "", ""));
            }
        }
コード例 #2
0
ファイル: AhkDll.cs プロジェクト: fullofvoid/GameBot1
 /// <summary>
 /// Start a new AutoHotkey thread.  This (or ThreadFromFile) must be
 /// called before other member functions can be called.
 /// </summary>
 /// <param name="Code">This plain-text code will be launched with the
 /// new thread.  Leave it blank to use the defaults (#Persistent and
 /// #NoTrayIcon).</param>
 public static void ThreadFromText(string Code)
 {
     AhkDllFlat.ahktextdll(Code, "", "");
 }