Desktop User Guides > Author > Customizing UNICOM Intelligence Author > Keycodes > Keycodes: Auto-Fill
 
Keycodes: Auto-Fill
The Auto-Fill dialog defines how UNICOM Intelligence Author assigns keycodes to responses.
Begin keycodes at
Specifies where the auto-fill keycodes begin. For example, if you specify 5, the auto-fill keycodes begin at 5.
Increment
Specifies the increment size between auto-fill keycode numbers. For example, if the increment value is 3, and Begin keycodes at is 1, the auto-fill keycodes numbers will be generated as follows: 1, 4, 7, 10, and so on.
Automatically prefix single-digit items with 0(s)
When selected, auto-fill single-digit keycodes are prefixed with a zero.
Override existing keycodes
When selected, auto-fill keycodes override any existing keycodes.
Notes
You must enter a category name and confirm, by moving to the next category line using Enter, the down arrow, or tabbing through the remainder of the category grid, in order for the system to add/display a keycode.
To enable the Auto-fill option in the context menu for a category, you must first highlight the appropriate category rows:
For an individual row: Click the row button at the left of the grid to highlight the entire row, and then right-click anywhere in the highlighted row.
For multiple rows: Click the top row, hold down Shift, and then click the end row. You can also click the top row and drag the pointer down to the end row; or click row, hold down Ctrl, and then select additional rows to include in the set.
Auto-fill configurations are only applied to the rows that you select; selection must be made for the entire grid row for the applicable category or categories.
If you configure auto-fill for a category set, there must be 10 or more selected categories in order for the system to enforce a leading zero to single-digit keycodes (when the option is selected). Leading zeros are not automatically added to multiple-digit codes using auto-fill.
If you have applied auto-fill configurations for a set of category keycodes, and then later add more categories, the system will:
add keycodes that do not duplicate existing keycodes within the question. For example if you have a category set with keycodes {1-5}, the next category keycode will be numbered as 6.
fill gaps in existing keycodes. For example if you have a category set with keycodes {2-5, 7}, subsequent categories will have default keycodes of 1, 6, 8, 9, and so on.
not add leading zeros. For example if you have a category set configured with keycodes of {05-10}, and the configured starting value for the existing set is 5, subsequent categories will have default keycodes of 1, 2, 3, 4, 11, and so on.
not increment. For example if you have a category set configured with keycodes of {1-28} (10 categories, start value = 1, increment = 3), subsequent categories will have default keycodes of 2, 3, 5, 6, 11, 12…29, 30, 31, and so on.
See also
Keycodes