AHK script to manage and launch Lua scripts in Dorico Pro 4.
- Popup menu triggered with middle mouse button to launch scripts in Dorico.
- Put Lua scripts into subfolders for better organization.
- Custom user hotkeys to launch your scripts.
- Some useful LUA scripts alredy included.
Download the ZIP file from this repository (green "Code" button → Download ZIP) and extract it anywhere in your computer.
In Dorico, set your preferred shortcut for opening the Dorico console, which will then be used by this script:
- Edit → Preferences → Key Commands → Script → Show Console;
- Assign a shortcut that doesn't interfere with your workflow;
- Edit the AHK script include/user_settings.ahk (e.g. with Notepad++);
- Set
hotkey_to_open_dorico_console
to the chosen hotkey (AHK hotkeys instructions); default is CTRL + ALT + F3.
This method is better than traversing the Dorico menu via key presses because if you move the mouse you can interfere with the process.
To run the program, launch "Dorico Script Launcher.ahk".
The script's popup menu is set to open with the middle mouse button (MButton
).
For this reason, you can't move the page with the same button: you can however simply use Shift + left click for that functionality. You can change the hotkey for the menu anyway in "Dorico Script Launcher.ahk".
To define hotkeys specifically for the various Lua scripts, edit the AHK script include/user_hotkeys.ahk and add your hotkeys specifying the relative path of the scripts.
If a script doesn't work or work partially, simply try again, because Dorico probably "wasn't ready", but now, having loaded stuff into RAM, it should run faster and apply all the commands in the script.