I have a script in which I have included some self-made files in the script directory. In these files I have various variables defined.
This is how the file is included and then called in the main script:
#include "Data\test.au3" MsgBox(0,"",$variable1)
test.au3 could contain something like:
$variable1 = "Hello1" $variable2 = "Hello2" $variable3 = "Hello3"
Now, if I want to change the value of $variable1 and then run the script, no problem. The script uses the new edited variable.
But If I compile the script, the includes are compiled within the EXE file as intended.
Now, if I change the value of $variable1 and run the EXE file, it doesn't look for my change, since it uses whatever variable that was defined when the script was compiled.
Is there any way that I can have files with variables that changes, and then have a compiled version using these changes, without having to compile again?
Thanks in advance.