1. Forum
  2. >
  3. Topic: Latin
  4. >
  5. An easy way of displaying lon…

https://www.duolingo.com/profile/Joel__W

An easy way of displaying long vowels in Latin text

For those, including myself, who miss macrons (long vowel marks) in the course, there is a solution. I found the really cool tool Macronizer by Johan Winge, which adds macrons to Latin text with a ~99 % accuracy. However, since copying and pasting every sentence you want to see with macrons may be tedious, I made a small script for a keyboard shortcut. Paste the following into a text document save it as an .ahk file. To use it, you must have AutoHotkey installed and run the script. You position the mouse over the text you want to see with macrons and press Windows button + Z. It's not perfect by any means, but it does the job. I would be happy to learn if someone comes up with a better idea!

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#z::
MouseGetPos, varx, vary
MouseMove, 1000, 0, 0, R
MouseClickDrag, Left, 0, 0, -2000, 0, 0, R
MouseMove, varx, vary, 1
Send, {Ctrl down}c{Ctrl up}
Run, http://alatius.com/macronizer/
Sleep, 1500
Send, {Ctrl down}l{Ctrl up}{Tab 2}{Ctrl down}v{Ctrl up}{Tab 7}{Enter}
return

November 1, 2019

0 Comments

Learn Latin in just 5 minutes a day. For free.
Get started