A tutorial video about auto-replace can be found here.

Auo-Replace Settings

Auto-replace allows for the dynamic replacement of text with other text. This can be used from situations such as automatically correcting words you commonly mistype, to a full blown macro system.

Corrections and expansions occur when the space bar is pressed, so when “afk” is typed it is only expanded to ”(Away from Keyboard)” after a space is added.

Important: This feature does not work with non-letter and non-characters. For example, the autocorrection of a smiley like ”:)” cannot be transformed into ”???”, but one can transform “sm” into ”???”.

  • Enable Autocorrect: Enables the auto correction mechanism.
  • Import List..: Allows a list of entries that can be corrected by specifying an XML file from the computer. To get the correct formatting of the file, use the Export List function (described below) and modify it accordingly.
  • Export List: Exports the list of abbreviations so that they can be saved the computer. The format is XML.
  • New List: Create a new list of abbreviations.
  • Delete List: Removes the list of abbreviations.

Below these buttons is a list of, well, the lists you have defined. Lists have a priority: they are scanned in order, top down. This is you have an abbreviation defined in two or more lists, the first one found will be used. You an change the order of the lists with the up and down arrows to the right.

Then comes the contents of the highlighted list, shows as Keyword and Replacement.

  • Add: Allows you to add a new keyword/replacement pair.
  • Remove Entry: Removes an entry from a list.

Click on Save Changes to save any modifications made, Cancel to close the window without saving.

Adapting Auto-Correct to Auto-Replace

Firestorm versions 4.2.2 and earlier used a feature called “Auto-Correct” for expanding abbreviations and correcting misspelled words. Firestorm versions 4.3.0 and later use a rewritten version of the same thing, called “Auto-Replace.” Both Auto-Correct and Auto-Replace use xml files for storing changes and custom-made lists, but a saved Auto-Correct list will not be compatible with Auto-Replace without some small changes.

If you're not confident about working in the xml files, then please do not use this method; instead, rebuild your Auto-Corrects into Auto-Replaces through the viewer itself, as described in the section above. It is also recommended to make a copy of the file you're editing before you make changes, in case something goes wrong.

To adapt an Auto-Correct list to be compatible with Auto-Replace:

  • Open the Auto-Correct xml file.
  • Find the line that says: <key>author</key>
  • Change the word “author” to “name” (without the quotes).
  • Find the line that says: <key>data</key>
  • Change the word “data” to “replacements” (without the quotes).
  • Save the file.

Follow the instructions in the section above for importing the list to the viewer.

Additional note: A “Custom” Auto-Correct file from the old feature actually saves its own name as “You,” and if you don't change that name in the xml file, it will import with the name “You” (not “Custom”). This does not affect its function; it's just a name. But if you want it to be named something other than “You,” then include this other change before importing:

  • Find the line that says:<string>You</string>
  • Change the word “You” to whatever you prefer for it to be called.
  • autoreplace_settings.txt
  • Last modified: 2018/05/11 17:10
  • by miro.collas