I made this script today for personal use.
Sometimes while chatting the others and me misses to change keyboard layout and writes a complete message with the wrong layout, such as "lvpfh f;l td l,rukh" instead of writing with arabic chars.
This script can fix such errors:
- The commands /fix2ar, /fix2en: takes the last line and convert it to the desired language then send it back to the window.
- /fixlang: opens a window with the last 5 messages where you can select which one to fix and from what language to what language (with simple auto detect).
- "Set LangX as Default" from the menu on the chat window will set the default language as the desired one, and even writing with wrong layout will send correct message.
The Scripts adds a menu in the MsgPlus icon in the chat window with the available commands.
Latest version: v1.1
Changelog:
- Better interface with resizable window.
- more arabic/english characters pairs (Shift+english chars).
- Clean history of messages on logout.
Screenshot: