Download Latest Version SlideToShutDown.zip (182.9 kB)
Email in envelope

Get an email when there's a new version of OfcLIG

Home / Text Expander
Name Modified Size InfoDownloads / Week
Parent folder
readme.md 2023-08-29 1.9 kB
Text_Expander.html 2023-08-28 2.2 kB
Totals: 2 Items   4.2 kB 0

Screenshot_Desktop

How to add new Expansion Text :

  1. Go to File Manager and search "Text_Expander.html" and Select.

  2. Right click and click "Open with" and select "Notepad"

  3. Search this code :

<script>
        const textExpansions = {
            'ofclig': 'Official LIGMATV'
            // Cara Menambahkan teks ekspensi lainnya :
            // (Teks Singkatan)': '(Teks Kepanjangan)'
        };
  1. For example, im want add this Expantion Text : "r for Ronaldo" That the code will you write : 'r': 'Ronaldo' And the full code will like this :
<script>
        const textExpansions = {
            'ofclig': 'Official LIGMATV',
            'r': 'Ronaldo'
            // Cara Menambahkan teks ekspensi lainnya :
            // (Teks Singkatan)': '(Teks Kepanjangan)'
        };
  1. So if you write r, that will show Ronaldo!

r_for_Ronaldo

Important!

The first and text expantion code, you must add the , at last because if you not add that, the second and next text expantion code will not readed. For Example :

This code is right :

<script>
        const textExpansions = {
            'ofclig': 'Official LIGMATV',
            'r': 'Ronaldo'
            // Cara Menambahkan teks ekspensi lainnya :
            // (Teks Singkatan)': '(Teks Kepanjangan)'
        };

This code is wrong :

<script>
        const textExpansions = {
            'ofclig': 'Official LIGMATV'
            'r': 'Ronaldo'
            // Cara Menambahkan teks ekspensi lainnya :
            // (Teks Singkatan)': '(Teks Kepanjangan)'
        };

You found the different? The different is , at last first and next first code.

Still don't get it?

Watch the video in our YouTube Channel, @OfcLIG.

Source: readme.md, updated 2023-08-29