Skip to content

Commit 378d95c

Browse files
committed
Changed to _H
ScriptUp now runs entirely through AutoHotkey_H. This is to create consistency, remove issues, and allow easier updates in the future. Updated included DLLs Added option to create shortcut to StdLib
1 parent df09154 commit 378d95c

File tree

13 files changed

+23
-1557
lines changed

13 files changed

+23
-1557
lines changed

ScriptUp.ahk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#persistent
33
#noEnv
44
setWorkingDir,% a_scriptDir
5-
#include %a_scriptDir%\data\threadMan.ahk
65
menu,tray,tip,ScriptUp
76

87
; compiled installs
@@ -39,8 +38,7 @@ if(!errorLevel) ; auto-correct if the script has been moved
3938

4039
; start worker
4140
#include %a_scriptDir%\data\guiMake.ahk
42-
worker:=new threadMan(workerdll)
43-
worker.newFromFile(workerfile)
41+
worker:=ahkThread(workerfile,params,1,workerdll)
4442
onExit,cleanup
4543

4644
; set DLLs/open gui automatically for first run
@@ -60,7 +58,7 @@ return
6058
#include %a_scriptDir%\data\functions.ahk
6159

6260
checkStates:
63-
stateList:=worker.varGet("stateList")
61+
stateList:=worker.ahkGetVar["stateList"]
6462
loop,parse,stateList,`,
6563
{
6664
lv_getText(pstate,a_index,2)
@@ -70,5 +68,5 @@ loop,parse,stateList,`,
7068
return
7169

7270
cleanUp:
73-
worker.quit(30000)
71+
worker.ahkTerminate[30000]
7472
exitApp

0 commit comments

Comments
 (0)