![]()
|
ScriptMaker TutorialThe [INI] PageThe [INI] page is where you make entries which are to be included in Windows .ini initialisation files.
![]() In the INI Filename field put the name and location of the INI file in which you want the entry to be made. This can be either a new or an existing file. Once a file has been entered in this field it is also added to the dropdown list, so it can be easily repeated. The file location will usually be specified by a Directory Constant which can be entered quickly by right-clicking and then selecting from the context menu. If you have created any additional directories on the [Dir] Page they will also be available from the context menu. Examples of entries in this field might be {app}\myfile.ini or {win}\system.ini. If the field is left blank, entries will be made in the win.ini file in the user's Windows directory. In the Section field put the name of the INI file section for this entry (this is the text that appears in square brackets in the INI file, e.g. [Toolbars]. Do not include the square brackets. If the field is left empty, no key will be created. Directory Constants can be used in this field and are available from the right-click context menu. The Entry Name field specifies the key for this entry, that is the part of the entry which appears on the left of the equals sign (for example Left=80), and the Value field specifies the value for this entry (the part to the right of the equals sign). Directory Constants can also be used in this field and again are available from the right-click context menu.
Install OptionsThere is only one installation option for this section. Normally the entry overwrite any entry which already exists in the INI file. Checking the Create key if doesn't exist option make Setup assign to the key only if it does not already exist.
Uninstall Options![]() The two options Don't delete entry and Delete entry are used to specify whether the current entry should be deleted when the program is uninstalled. The Delete entire section option deletes the entire section in which the entry is located, and cannot be combined with the other options. The Delete section if empty option will also make the uninstaller delete the entire section, but only if it is empty. This last option can be combined with the Delete entry option. Use the Add and Delete buttons in the normal way to add or delete entries in the grid. As usual you can double-click an entry in the grid to edit it.
Importing and ExportingAs well as entering data manually you can import a whole .ini file straight into ScriptMaker. The file can be dragged onto ScriptMaker's [INI] page, or you can click the Import/Export button and choose Import from the menu.Similarly, the entries you have made on ScriptMaker's [INI] page can be exported to a .ini file by clicking the Import/Export button and choosing Export from the menu.
|
||
Member of |
Copyright © 2005
Last major revision: 4 February 2005 at 14:52 BST
|