Skip to content

Per-language text caret and mouse cursor styling, aka language indicator

License

Notifications You must be signed in to change notification settings

yakunins/language-indicator

Repository files navigation

Language Indicator

language indicator for text caret and mouse cursor

Per-Language Styling of Text Caret and Mouse Cursor

Keeps track of your current language and changes caret and text selection mouse cursor.

It works in most envs, including consoles and Universal Windows Apps, aka Metro apps.
Exceptions are Adobe Indesign and some .NET MAUI apps.

Written for AHK v2.

Installation

  1. Download language-indicator.exe, a compiled version of the script
  2. Download and run install.cmd to create shortcut at startup folder

Standalone version of the script creates a marker near the mouse cursor with lag. Since cursors cannot be embedded directly into an AHK script, this lag can be eliminated by adding cursors folder. See below for details.

Customization

  1. Download or create carets or cursors folders (since cursors folder exist, embedded images won't be used, see ./lib/UseBase64Image.ahk)
  2. Remove unwanted or add your own carets or mouse cursors within carets or cursors folders
  3. Use the following naming convention:
Input Mouse Cursor Text Caret Mark
Language 2 ./cursors/2.cur ./carets/2.png
Language 1 + Caps Lock ./cursors/1-capslock.cur ./carets/1-capslock.png
Language 2 + Caps Lock ./cursors/2-capslock.cur ./carets/2-capslock.png

Tips:

  • Supported caret mark formats: PNG, GIF
  • Supported cursor file formats: CUR, ANI, ICO
  • Create your own cursor with Sib Cursor Editor
  • Cursor variants included:

default i-beam cursor

i-beam cursor with dot

i-beam cursor with circle

i-beam cursor with arrow up

i-beam cursor with letter g

Enjoy!
A donut, maybe? 🍩

About

Per-language text caret and mouse cursor styling, aka language indicator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published