Announcement

Collapse
No announcement yet.

[Include] IniTool - Support for .ini file formats

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Include] IniTool - Support for .ini file formats

    The IniTool is a set of scripts that provide support for reading and writing windows .ini type file formats. These are used to allow separation of contants that define a user's environment and preferences from application scripts and ASP pages.

    It is the intention that these support scripts will provide an interim solution to support for configuration files until such native capability exists within homeseer.

    The convention that is being used consists of a single HomeSeer.ini file that exist on each user's homeseer root directory. This file will be edited by each user to define their configuration and preferences for a specific application. As new applications become available new parameters will be appended to the HomeSeer.ini

    Application developers will provide a .ini file associated with the application they are developing. This will identify the configurable parameters associated with the application. The developer will also include the IniTool in the application and make use of the provided functions to process the .ini data file.

    Ver 1.3.1 Provided install-time support to allow .ini definitions to be inserted as Const or Array definitions in target script. IniTool, in this mode, is only included in the install script and not the target script. Provides for no-change way to make legacy scripts configurable via an .ini file definition.

    Ver 1.4 Added a script that will automatically install homeseer.ini definitions if target does not have the most current definitions installed. This is most valuable in a development environment where changes to the .ini file are made often.

    V1.5 Added InstallString to handle non-conforming install time initialization

    V1.6 Added InstallKeys support for syntax of first non-white space element on the line. Either of these will now work:
    xyz="abc" or Const xyz ="abc"

    V1.61 Bundled some common install utility functions.

    V1.62 Fixed bugs in install utility functions

    V1.6.3 Included tutorial/examples on use of iniTool

    V1.7.1 Retained comments when .ini file saved using ini's save function

    V1.7.2 Added compile time definition of an array from another script to installUtilities (used for Movies)

    [This message was edited by Michael McSharry on Wednesday, 27 February 2002 at 04:14 PM.]

    [This message was edited by Michael McSharry on Friday, 01 March 2002 at 05:42 PM.]

    [This message was edited by Michael McSharry on Saturday, 02 March 2002 at 05:04 PM.]

    [This message was edited by Michael McSharry on Monday, 04 March 2002 at 05:49 PM.]

    [This message was edited by Michael McSharry on Saturday, 09 March 2002 at 01:19 AM.]

    [This message was edited by Michael McSharry on Sunday, 10 March 2002 at 11:43 PM.]

    [This message was edited by Michael McSharry on Thursday, 14 March 2002 at 03:47 PM.]

    [This message was edited by Michael McSharry on Tuesday, 02 April 2002 at 12:13 AM.]

    [This message was edited by Michael McSharry on Wednesday, 03 July 2002 at 12:28 AM.]
    Attached Files
Working...
X