## Extract Preference Set

There are various preference sets and lists which can be accessed when running an action. Replacement Sets in particular, can be convenient means of retaining static information that you might want to use in more than one action.

In all of the available functions list items are separated by the default list delimiter \~. When a key-value list is being produced, the default key-value separator \k is used. The named variable field may contain any of the escape sequences described in Escape Sequences. The following functions are available:

Extract Named Replacement Set
  The specified replacement set, which must exist, is extracted in one of the following ways:
  Extract named variables
    Every item in the replacement set will become a named variable where the from field is the name and the to field is the value.
  Extract list to named variable
    The replacement set will be be stored to the specified named variable as a list of the from fields.
  Extract key-value list to named variable
    The replacement set will be be stored to the specified named variable as a key-value list. The from fields become the keys and the to fields are the values.
Extract Named Exception Set
  The specified exception set, which must exist, is extracted in one of the following ways:
  Extract list to named variable
    The exception set will be be stored to the specified named variable as a list of the exception fields.
  Extract key-value list to named variable
    The exception set will be be stored to the specified named variable as a key-value list. The exception fields become the keys. The values are encoded as a single character as follows:
    N
      No case change.
    L
      lower case
    U
      UPPER CASE
    C
      Capitalize
    F
      Force Exception
    n, l, u, c, f
      Same as above with No Change on Exact Match specified
preference List
  The Artist, Composer, Conductor, File Type, Genre, Grouping, Label, Lyricist, Media Type, Mood, Publisher and Remixer lists can be stored to the specified named variable as a list of the items.
Name of Default Replacement Set
  The name of the default replacement set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Case Replacement Set
  The name of the case replacement set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Fold Characters Replacement Set
  The name of the fold characters replacement set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Rename Replacement Set
  The name of the rename replacement set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Default Exception Set
  The name of the default exception set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Names Exception Set
  The name of the names exception set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Natural Sort Exception Set
  The name of the natural sort exception set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Title Case Exception Set
  The name of the title case exception set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
Name of Weight Exception Set
  The name of the weight exception set will be saved to the specified named variable. If the item is not assigned, the named variable will be set to empty.
List of Replacement Sets
  A list containing the names of all replacement sets will be saved to the specified named variable.
List of Exception Sets
  A list containing the names of all exception sets will be saved to the specified named variable.