Registry menu

Contents

Accessing the registry menu

All registries can be inspected via the Search submenu on the Main menu.

Most important operations on registries are available from the registry menu. To open this menu:

  • right-click over the registry window,
  • press Alt+F10,
  • click the registry menu button on the registry toolbar, or
  • press Apps Key (Application key allows you to open a pop-up menu relevant for the current context) (context menu key left of the right Ctrl key).

Registry menu items

The registry menu includes the following options:

View

  • View
    • List elements - list all elements that use the currently selected registry member in the element list (bottom right of the registry window)
    • View element - display the element selected in the element list or display the first user of the currently selected registry member (if the element list is not shown). The element is shown in the element window without closing the registry. Note that elements are displayed each time you click on the entries in the element list (which can be shown with List elements above)
    • Go to element - same as View element but the element window is put to the front of the registry window
    • Browse current (Ctrl+B) - display all elements that use the current registry member in a Browser (only the first 500 elements can be browsed this way due to the limitation on the size of the registry reference list)
    • Browse selected (Shift+Ctrl+B) - display all elements that use the selected registry members, i.e. members with a checkmark on the left (each member will contribute up to 500 elements)
    • Browse all - display all elements that use all the members in the current registry subset in the element browser (each member will contribute up to 500 elements)
    • Random pick - jump to a randomly picked registry member in the current registry subset. This option can be used to quickly review the registry. You can use F11 to execute Random pick
    • Go to position (Ctrl+G) - go to a registry number by providing its physical position in the registry (e.g. File : Repair collection will often report registry problems by referring to individual members by their physical position)
    • Path - display the path to the selected registry object file (e.g. image file). Show the availability of the file in the primary and secondary storage (if these two differ), linked file path (if any), and file sizes
    • Play (Ctrl+F10) - play the sound or video associated with the current registry member in sound or video registry
    • Encoding (F8) - display UTF-8 codes of the registry member name
    • Clear - this option, usually executed with Esc, is useful in backtracking your operations on the Registry window. This is the sequence of actions done by Clear:
      1. jump from the list of elements to the list of registry members (if the focus is on the list of elements)
      2. jump from the object editing fields to the list of registry members (if the focus is on one of the editing fields)
      3. jump from the member list to the editing combo-box at the top of the registry window (if the focus is on the member list)
      4. clear the contents of the editing combo-box at the top of the registry window if the focus is on the editing combo-box
      5. close the registry window if the focus is on the editing combo-box and the combo-box is empty

Edit

  • Edit
    • Edit text (Ctrl+E) - edit the text currently displayed in the text registry
    • Edit translation (Ctrl+T) - edit the translation associated with the current text registry member. Note that in translation registries, the meaning of Edit text and Edit translation is reversed, and Edit text is actually used to edit the translation
    • Copy path - copy the path to the file associated with the current registry member to the clipboard
    • Overwrite file - replace the current member's object file with another file. For example, you can use this option to replace one picture with another. The replacement will show throughout the collection

Search and replace

  • Search and replace
    • Find (Ctrl+S) - find all members in the current registry subset whose names contain a given string. Place the search results in a newly created registry subset. Use Ctrl+S to search all registry members for a string. Use it also for AND-search
    • Find first (Ctrl+F) - find the first registry member in the current subset whose name contains a given string. Search begins with the member that follows the currently selected member. You will find the shortcut for Find first, Ctrl+F, very useful here
    • Find next (F3) - repeat the last Find first operation (you can repeat search with F3)
    • Find and replace (Ctrl+R) - find members in the current registry subset whose names contain a given string and replace this string with another string. You can repeat this operation on all individual members with individual confirmations or replace all strings in one go. You can do global search and replace on texts in your collection by using the text registry, but it is faster to use Find texts first (Ctrl+S in SuperMemo) and then Find and replace (Ctrl+R in the text registry opened with search). Caution: all registry member names must be unique, if your replace operation generates a name that already exists, the new name will be modified by SuperMemo to make it unique. Usually this will result in the appearance of some meaningless code at the end of your new name (e.g. Geography#, Geography@, etc.)
    • Apply filter - process the texts in the current registry with a filter file (e.g. replace a set of strings with another set of strings, remove delimited comments, etc.).

Rename

  • Rename (Alt+R) - rename the currently selected registry member

Delete

  • Delete (Del) - delete the currently selected registry member

Tools

  • Tools
    • Import files - import a number of files into the registry. For example, if you have a set of ready-made pictures or sound files you can import them all to image or sound registry respectively before you use them in your elements
    • Import text - import the text with registry member names generated by Export as text (below). For example, after spell-checking
    • Export file - export the file associated with the current member
    • Export as text - export all registry member names into a text file. Most often you will want to do it to spell-check the contents of the registry with your favorite spellchecker
    • Sort for frequency - sort the registry for the number of elements that use individual members
    • Sort for size - sort the registry for the size of files associated with individual members (e.g. to delete largest pictures from your bloated collection)
    • Sort for priority - sort the registry for member priority. The priority here is determined by the ratio: (number of users)/(file size). This option is useful if you want to find the least used members that take most space (for example, Advanced English 97 sound files have been trimmed with this option to fit the 650MB CD-ROM size limit)
    • Internalize files - move all files associated with the registry from the secondary storage to the primary storage. External files, i.e. files not associated with the collection, will also be internalized (external files are those which you linked with Links : External file on the Component menu). You can use this option, for example, if you want to speed up access to a small collection distributed on CD/DVD. Internalize files will move all files from CD/DVD to your hard disk. This way you will also be able to delete secondary storage path and give up using CD/DVD drive altogether
    • Repair - recover twin registries. A twin registry is a pair of registries in which each member of one registry points to one or more members of the other registry. For example, the phonetic transcription registry is a twin registry and is composed of two registries: words and word transcriptions
    • Delete unused - delete registry members that are not used anywhere in the collection (i.e. not linked to any component)
    • Size statistics - compute the size of texts, files, linked files, HTML objects, etc.
    • Add predefined templates - add predefined templates to the template registry (e.g. Item, Article, Multiple Choice, Spelling, etc.)
    • Generate elements - insert all registry members into newly created elements (e.g. to convert the whole picture registry to a branch of pictures)

Selection

  • Selection
    • Extract to subset (Shift+Ctrl+Enter) - display the currently selected registry members in a separate registry subset (selections are made by checking boxes to the left of registry member names)
    • Select all - select all registry members
    • Unselect all - unselect all registry members

Subset

  • Subset
    • Previous subset - open the superset of the current registry subset (Alt+Left)
    • Next subset - open the nearest subset of the current registry subset (Alt+Right). For example, if you do AND-search in the registry with Ctrl+S, you can browse through all search stages with Alt+Left and Alt+Right
    • Delete subset - delete the currently used registry subset. You cannot delete the first set which contains the entire registry
    • Match to subset - find all registry members whose users belong to a given element subset
    • Select format - create a registry subset with members of a specific file format
      • Text (plain) - select subset of texts in the plain text format
      • RTF - select subset of texts in the RTF format
      • HTML - select subset of texts in the HTML format
      • OEM - select subset of texts in the old OEM format (using code page encoding instead of UTF-8 encoding)(see: Using fonts)
      • BMP - select subset of images in the BMP format
      • JPEG - select subset of images in the JPEG format
      • GIF - select subset of images in the GIF format
      • PNG - select subset of images in the PNG format
    • Size range - select members falling into a selected size range (in bytes)
    • Select untranslated - generate a new registry subset in text registry with all members who have not yet been translated. This option is useful when you translate your collection and would like to quickly translate those texts that do not yet have translations associated in the translation registry

Close

  • Close (Ctrl+F4) - close the registry window