Skip to the content
Documentation

ReplaceText

No ratings yet

Summary

Sets which text that needs to be converted to an icon.

Usage

ReplaceText[]=:)

Description

This setting shows the text or character combination that should be replaced by an image.  The image to convert to is defined directly below ReplaceText with the setting ReplaceIcon in [WordToImageSettings].

So whenever a special character sequences is published, it will be replaced by the image icon defined in ReplaceIcon. For example, the sequence ":-)" will be replaced by a small image of a smiling face.

This setting is case sensitive.

Examples

<span class="k" style="margin-left: 0px; margin-right: 0px;"><span class="na" style="margin-left: 0px; margin-right: 0px;"><span class="na" style="margin-left: 0px; margin-right: 0px;">IconRoot</span><span class="o" style="margin-left: 0px; margin-right: 0px;">=</span><span class="s" style="margin-left: 0px; margin-right: 0px;">/share/icons</span></span></span>
<span class="na" style="margin-left: 0px; margin-right: 0px;">ReplaceText[]</span><span class="o" style="margin-left: 0px; margin-right: 0px;">=</span><span class="s" style="margin-left: 0px; margin-right: 0px;">:D</span>
<span class="na" style="margin-left: 0px; margin-right: 0px;">ReplaceIcon[]</span><span class="o" style="margin-left: 0px; margin-right: 0px;">=</span><span class="s" style="margin-left: 0px; margin-right: 0px;">big-smile.gif</span>
<span class="na" style="margin-left: 0px; margin-right: 0px;">ReplaceText[]</span><span class="o" style="margin-left: 0px; margin-right: 0px;">=</span><span class="s" style="margin-left: 0px; margin-right: 0px;">:-D</span>
<span class="na" style="margin-left: 0px; margin-right: 0px;">ReplaceIcon[]</span><span class="o" style="margin-left: 0px; margin-right: 0px;">=</span><span class="s" style="margin-left: 0px; margin-right: 0px;">big-smile.gi</span>f

This is a default setting, when ":D" or ":-D" is typed, the system will look for the image big-smile.gif, a smiley with a big smile, in the folder (root of your Exponential installation)/share/icons to replace it.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.