ahkExecuteLine is used to execute the script from previously added line via addScript or addFile.
pointerNextLine := DllCall(dll_path "\ahkExecuteLine"[,"UPTR",pointerLine,"UInt",mode,"Uint",wait],"Cdecl UPTR")
| Parameter | Description |
| pointerNextLine | a pointer to next line. When no line pointer is passed, it returns a pointer to FirstLine. |
| pointerLine | a pointer to the line to be executed. |
| mode | 0 = will not execute but return a pointer to next line. |
| wait | set 1 to wait until the execution finished (be careful as it may happen that the dll call never return! |
addFile and addScript return a line pointer, so you can add one or more lines of script and launch them without having a Label to it.
A_LineFile contains the full file path of currently running script (ahkdll + addFile) or the script in text form (ahktextdll or addScript).
Functions are skipped so you recive the pointer to line after function.
AutoHotkey.dll, ahkdll, ahktextdll, ahkReady, addFile, addScript, ahkExec, ahkLabel, ahkFunction, ahkPostFunction, ahkassign, ahkgetvar, ahkTerminate, ahkReload, ahkFindFunc, ahkFindLabel, ahkPause, Alias, cacheEnable, FindFunc, FindLabel, getTokenValue, getVar, Static, AutoHotkeyMini, DynaCall, CriticalSection, CriticalObject, MemoryLoadLibrary, ResourceLoadLibrary, MemoryGetProcAddress, MemoryFreeLibrary, Other Changes
; None.