BoBo wrote:
Noob question: would it be possible to use a separate AHK regex component/module which could be linked/connected/called from within a script.
Simpleton wrote:
I like the optional linking thing, perhaps AHK could setup some sort of dll plugin system where the plugins have to be included.
The main thing that stops this is that compiled scripts need to be standalone because that's one of the main reasons for having them. Also, the script compiling process can't easily bring in functions from external libraries or DLLs because that type of advanced "linking" isn't part of its design.
hh wrote:
chris: whay are you so concerned about increasing the size by 20 or 40K?
It's because the size of AutoHotkey.exe is also the size of every compiled script. As someone pointed out, even a one-line script will compile to a certain minimum size (170 KB or more), even after compression.
Simpleton wrote:
feels like a lot of work though, meh, maybe I'll look into it, ahk is open source right?
It is open source. I think it would be a lot of work if you wanted to support compiled scripts while keeping them self-contained and non-dependent on any external DLLs.