@Lexikos: thank you. I FINALLY GET IT. I overlooked (at EXIT)
(if the script is not persistent and contains no hotkeys)
Exit does NOTHING sometimes. This is VERY UNINTUITIVE. Gee, I could use it like a NOOP sometimes (something I often wondered why it doesn't exist for writing IF..ELSE statements). (Kinda just joking.)
One question then: Is the auto-execute section of a script considered a THREAD?
I ask this for two reasons.
(1) I find the definition of THREAD somewhat lacking, in that it says
The current thread is defined as the flow of execution invoked by the most recent event; examples include hotkeys, SetTimer subroutines, custom menu items, and GUI events
By lacking, I mean "examples include" does not limit threads to other events.
(2) I run a script with only an auto-execute section, for example
and Windows task manager shows the script has having ONE thread. I interpret your definition of thread as HAVING TO BE AN EVENT, but what event is the above? (Or, to put it another way, it seems the mere execution of the script creates a THREAD--something I would definitively NOT question.)