Last active
November 13, 2020 16:50
-
-
Save hyvyys/5210b58a5dcda5e9e476dfc5c103ef50 to your computer and use it in GitHub Desktop.
AutoHotKey script for FontLab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; prevent Alt-zooming from triggering top menu | |
Alt:: | |
KeyWait, Alt | |
return | |
LAlt Up:: | |
if (A_PriorKey = "Alt") | |
return | |
return | |
; replace field content with "|" – I use this to quickly set symmetrical sidebearings | |
!\:: | |
Send ^a | |
Send {|} | |
Send {Enter} | |
return | |
; copy active field to the next field – I use this to bind the right sidebearing to the same glyph | |
^+c:: | |
Send ^a | |
Send ^c | |
Send {Tab} | |
Send ^v | |
Send {Enter} | |
return | |
; clear two consecutive fields and activate the next button – I use this to clear sidebearings or anchor expressions across masters | |
; warning: clear FontLab's Ctrl+Shift+D shortcut first or assign another hotkey below | |
^+d:: | |
Send ^a | |
Send {Backspace} | |
Send {Tab} | |
Send ^a | |
Send {Backspace} | |
Send {Tab} | |
Send {Space} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment