How about a configurable Scripts folder?
Posted: 02.01.2008, 11:45
Not really a bug, more of a minor request....
I like the fact that scripts can now be run directly from File->Scripts, however, would it be possible to allow the location of this Scripts directory to also be configurable in celestia.cfg?
For example it's currently possible to specify the location of the ScriptScreenshotDirectory...
but not the actual scripts directory itself (which appears to be hardcoded to "C:\Program Files/<Celestia-Prog-Directory>/scripts" ) in pre5.
Perhaps we could have:
as well (which could still of course default to the C:\Program Files/<Celestia-Prog-Directory>/scripts" folder).
I know you're only doing bug-fixes now Chris, but even so, I think that this feature would be appeciated by those running multiple versions of Celestia, if it's very simple for you to implement in the code.
Trying not to be too demanding!
I like the fact that scripts can now be run directly from File->Scripts, however, would it be possible to allow the location of this Scripts directory to also be configurable in celestia.cfg?
For example it's currently possible to specify the location of the ScriptScreenshotDirectory...
Code: Select all
#------------------------------------------------------------------------
# The following parameter is used in Lua (.celx) scripting.
#
# ScriptScreenshotDirectory defines the directory where screenshots
# are to be stored. The default value is "", i.e. Celestia's
# installation directory.
#------------------------------------------------------------------------
ScriptScreenshotDirectory ""
but not the actual scripts directory itself (which appears to be hardcoded to "C:\Program Files/<Celestia-Prog-Directory>/scripts" ) in pre5.
Perhaps we could have:
Code: Select all
ScriptsDirectory ""
as well (which could still of course default to the C:\Program Files/<Celestia-Prog-Directory>/scripts" folder).
I know you're only doing bug-fixes now Chris, but even so, I think that this feature would be appeciated by those running multiple versions of Celestia, if it's very simple for you to implement in the code.
Trying not to be too demanding!