New Plugin emo_unicode Toolkit - Forum

Forum Navigation
You need to log in to create posts and topics.

New Plugin emo_unicode Toolkit

hi,

The Emo_Unicode Toolkit is designed to break that barrier, integrating seamlessly to provide our VisualNeoWin applications with full support for Unicode (UTF-8).

What can you do with this plugin?

Create 100% Unicode Text Boxes: Insert a text editing control into your applications where your users can correctly write and view text in any language, including emojis.

Read and Write UTF-8 Files: Save and load text files (.txt, .csv, etc.) in the universal standard UTF-8 format, preserving all special characters without corruption.

Handle Variables Safely: The plugin automatically converts Unicode text to a safe format that can travel through NeoBook variables without issues, and rebuilds it upon display.

Advanced Control Configuration: Customize the appearance and behavior of text boxes with options like colors, fonts, scroll bars, and read-only status.

Developer Tool: Includes a utility to easily convert any Unicode text (that you copy from the web, for example) into a safe format for direct use in your scripts.

Main Plugin Functions

Here is a summary of the actions you will find:

Text Controls

emo_unicode_CreateTextBox "Alias" "RectangleObject"
Creates the transparent container inside a NeoBook Rectangle object. This is the first step to adding a text box.

emo_unicode_ConfigureTextBox "Alias" "Configuration"
Creates and configures the text box. This is where you define the appearance (colors, fonts) and behavior (scrollbars, read-only).
Configuration Example: "ScrollBars=Vertical|ReadOnly=0|Font=Arial,-16,1"

emo_unicode_SetText "Alias" "[VariableWithText]"
Displays the content of a variable in the text box. The plugin takes care of decoding the text so it displays correctly.

emo_unicode_GetText "Alias" "[DestinationVariable]"
Gets the text the user has written in the text box and saves it safely to a variable.

emo_unicode_DestroyTextBox "Alias"
Deletes the text box and releases its resources.

File Handling

emo_unicode_ReadFileUTF8 "[FilePath]" "[DestinationVariable]"
Reads the entire content of a UTF-8 text file and saves it safely to a variable.

emo_unicode_WriteFileUTF8 "[FilePath]" "[VariableWithText]"
Writes the content of a variable to a text file, ensuring it is saved in UTF-8 format and all characters are correct.

Script Utilities

emo_unicode_Encode "[DirectText]" "[DestinationVariable]"
Converts a text string to a safe format for NeoBook.

emo_unicode_Decode "[EncodedText]" "[DestinationVariable]"
Converts a safe string back to readable Unicode text.

emo_unicode_EncodeStringTool
Your productivity tool! Opens a window where you can paste any text (e.g., 你好世界) and it automatically generates the safe version for your scripts ({U+4F60}{U+597D}{U+4E16}{U+754C}).

Get i here

I hope you enjoy it and that it opens the doors for you to create even more powerful applications with VisualNEO!

Regards,
EMO

luishp, Vadim and 5 other users have reacted to this post.
luishpVadimalangonzalez91danitoDarbdenralAnthony LaTorreiretz

@emmanuel-fernandez this is absolutely fantastic!!
Thank you!!

emo has reacted to this post.
emo

Thank's @luishp,

Added

New! Word Wrap Option: You can now control how text is displayed with a new "Enable Word Wrap" checkbox in the control's properties. When enabled, long lines of text will automatically wrap to fit the control's width.

Reagrds,
Emo

 

luishp has reacted to this post.
luishp

Emo you saved the day! Thanks so much for making these plugins available to the community... It is greatly appreciated.

luishp, alangonzalez91 and emo have reacted to this post.
luishpalangonzalez91emo

@emmanuel-fernandez

It is very cool!!! Thank you so much for this useful work!!!

luishp, alangonzalez91 and emo have reacted to this post.
luishpalangonzalez91emo