A Macro to Enter Accented Characters (Diacritics)

New and improved Diacritics Macro adds a numeric menu under the larger diacritics display so you don't have to leave the keyboard to pick one (just like macOS's native version):

ss-43

Update (28 March 2024): Fixed the indexing bug, reported non-digit keys and added a notification if the macro can't find anything to accent ("Nothing appropriate selected").

Diacritics.kmmacros (18.6 KB)

And here's a version that omits reporting the non-digit key (when expecting a mouse click or number):

Diacritics.kmmacros (18.6 KB)

Update (29 March 2024): This version puts the palette in the top right corner of the active window rather than near the mouse (which may not be where the text insertion point is). That's feasible now with the indexed replacement option (you don't have to mouse over). But if you prefer to use the mouse, you can disable the action that moves the mouse in the macro. This version also minimizes the JavaScript in the Custom HTML Prompt window so the macro is a bit smaller than it would otherwise be.

Diacritics.kmmacros (19.7 KB)

1 Like