MindMaster Posted August 5, 2007 Share Posted August 5, 2007 Hi,If I create a new config file and then rerun WPI.hta it automatically reloads the new config file. However, if I load an existing config file, modify it, and then save it, re-running WPI does not autoload the config file I loaded. Where is it storing what config file to load when it runs. If I rename the new config file using windows and re-run WPI.hta, it (not surprisingly) doesn't find the config file. None of the files in the WPIScripts directory appear to get updated with a reference to the config file.Similarly, I am looking to have multiple config files (each one contains a specific set of applications). If I do this, where is the location I should place the list of config files? Ideally, it would be somewhere that would not be overwritten when I update to a new version.Thanks in advance!Mark Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 5, 2007 Share Posted August 5, 2007 Look closely in the changelog the answer is there. A coupla versions back. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 5, 2007 Share Posted August 5, 2007 * Updated the options and config wizards to allow for creating new, loadingother, and saving current settings under different names. There are new gadgets: New Options, Load, Save As...The current files are displayed in the respective wizard. When exit eachwizard, that file is set as the default and will be loaded the next time WPIis run. If the file does not exist it will default back to the original:useroptions.js or config.js.If the path contains '\WPI\WPIScripts\' it will be assumed the file is in theWPI main folder and will change the path to relative './WPIScripts/'.The files should be kept in the WPIScripts folder.With the new command line args, you will have to specify them in your cmd script since they are saved as registry entries.* Updated the wpi.htm theme file yet again. Removed the config wizard <table>gadget template and updated it to match the options wizard template. Sizes andlocations are now consistant. This does require a simple update to 5.0 themes.* Added command line support to specify different config and user optionsfiles:WPI.hta options=useroptions_mritter.js config=config_mritter.js check=Work timer=30If a path is not specified for the file, it will assume they are inWPIScripts. Link to comment Share on other sites More sharing options...
MindMaster Posted August 5, 2007 Author Share Posted August 5, 2007 Perfect... Thanks!How can I specify mulitple config files on the command line? If not on the command line, is there another way to identify multiple config files?Thanks,Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now