I followed a different way to achieve nearly the same purpose:
In a special Prefs folder, I have some images (logos at different size / orientation, that fits the application needs), some texts (Company Name / Address / etc.).
The idea was to … at (first) launch time, the installer person choose the correct data (images/texts), then these will be used all the time until someone provide a new set / change the prefs.
This also allowed me to make some pressure on the client. Unfortunately, the contract failed. (I presented them that feature, with an Acme logo/fictional address by default, then I changed to the blue [French] logo of the company and to the red [German] logo of the company: “This software can be customized…”)
The application name stayed (I think, but not sure) the same.
I see how to create a script, but I’m not clear on what script command would set a constant value in the main code. Or are you saying that the script has the ability to modify values in the code?
The example doesn’t show anything in the script other than DoCommand "SaveFile". The other examples are IDE_Communicator which don’t seem to be helpful either.
Can you point me towards some scripting documentation I can use for changing values within my code?
Ok, digging in a little further, it seems that the DoCommand can maybe do this. The DoCommand can have a value of NewConstant: Adds a new constant to the selected project item.
Just have to figure out:
Is there an EditConstant to change the value of a constant