Skip to content

An AutoHotkey script made to mimic the macOS Press and Hold accent menu

Notifications You must be signed in to change notification settings

Markcanfly/AHKpressandhold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AHKpressandhold

An AutoHotkey script made to mimic the macOS Press and Hold accent menu on Windows

Default variations taken from the US layout (international)

1 2 3 4 5 6 7 8
a à á â ä æ ã å ā
c ç ć č ć
e è é ê ë ē ė ę
i î ï í ī į ì
l ł
o ô ö ò ó œ ø ō õ
n ñ ń
s ß ś š
u û ü ù ú ū
y ÿ
z ž ź ż

To change the default settings, edit the included config.ini.

How to use

1. Install

You can use it from source by installing AutoHotkey and running the script in the folder with the config.ini file, or by downloading the latest release with the compiled executable.

2. Use

Hold a key down on the keyboard, then press the corresponding number of the desired character variation.

E. g. with the default configuration for the character ä you would need to press a+4. Check (and edit) the config file for reference.

3. Editing the configuration

You can specify the variations for each key by editing the config.ini file. You can add new keys, delete the existing, go wild. The script will build the key combinations from config when executed, so you will need to relaunch after editing for the changes to take effect.

4. Continued use

The script, once launched, will run in the background, consuming minimal resources. If you want the script to launch when starting Windows, check out this quick tutorial on how to set it as a startup script.