How Does a Script Work When Being Run via AutoHotkey? Topic is solved

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
User avatar
Buddha Nature
Posts: 34
Joined: 13 Feb 2022, 06:42

How Does a Script Work When Being Run via AutoHotkey?

23 Dec 2022, 10:35

Newbie to AutoHotkey with a very basic question. There are two ways to run a script: (1) you can run the script directly via AutoHotkey or (2) you can compile the script and run the exe file directly. Fine.

However, if I do '1' what happens in how the script is running. Is the script in a constant state of being 'interpreted' by AutoHotkey, in a loop so to speak. Or, is the script read and interpreted by AutoHotkey and on that one read converted into a program in system memory and that program then runs the script without looping through it all the time to 'interpret' the script.

Hope my question makes sense — I don't know how to put it any better
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: How Does a Script Work When Being Run via AutoHotkey?  Topic is solved

23 Dec 2022, 11:04

the latter, regardless of whether the script was compiled or not
User avatar
Buddha Nature
Posts: 34
Joined: 13 Feb 2022, 06:42

Re: How Does a Script Work When Being Run via AutoHotkey?

23 Dec 2022, 12:31

Thanks very much for the response — appreciated!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests