# Duplicate Snippet Dialogue Box

This dialogue box is used to create a new, user-defined, snippet that is a duplicate the currently selected snippet. The dialogue box is accessed from the Snippet | Duplicate Snippet menu option.

Enter a unique name for the duplicated snippet in the Unique name for duplicated snippet edit control. A suitable name will be suggested. When duplicating a snippet from the main database it may be possible to use the same name, providing a snippet of that name does not already exist in the user database. If this is the case the suggested name will be the same as that of the original snippet.

The display name of the duplicated snippet can be edited or entered in the Display name edit box. If the snippet being duplicated has a display name different to its unique name, the name will be displayed here, otherwise the edit box will be empty. Leave the edit box blank to use the name entered in the Unique name for duplicated snippet edit box as the display name.

The new snippet's category can be changed using the Category drop-down list. The category of the original snippet will already be selected, making it easy to create the new snippet in the same category.

Click OK to create the new snippet. If the snippet name is invalid or is not unique then an error message will be displayed.

The newly duplicated snippet can be opened for editing in the Snippets Editor immediately after clicking the OK button. To do this tick the Edit in Snippets Editor check box. If you don't want to display the Snippets Editor leave the check box clear. Note that when automatically opening the Snippets Editor the duplicated snippet is added to the database before the Snippets Editor is displayed.