I have two au3 files Constants1.au3 and Constants2.au3. In the main program, I have two checkboxes "Choose Contants1.au3" and "Choose Constants2.au3". Depending on which checkbox is checked, I would like to include the corresponding Constants1.au3 or Constants2.au3 file at runtime. ie. I need to do something like this -
If checkbox 1 is selected Then
#include "Constants1.au3"
Else If checkbox 2 is selected Then
#include "Constants2.au3"
EndIf
I tried the above, but it doesn't work. I also tried FileInstall(), but in vain. Anybody has any ideas ?