Issue with Mekkablue steal kerning from Indesign script


First of all thank you Mekkablue for all of the wonderful scripts. Your time spent is much appriciated.

I am unfortunately experiencing this error in the macro window

‘Traceback (most recent call last):
File “Steal kerning from”, line 142, in
print " ERROR: Could not set kerning for %s-%s (%i).\n" % (leftSide, rightSide)
TypeError: not enough arguments for format string’

Does anyone have any idea how I might get around this?


I fixed it. Please update your scripts and try again.

Same issue here:
I get this message:
Imported 315 kern pairs.
Time elapsed: 6.6 seconds.
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘glyph’ is not defined

Any idea?

Hw do you run the script? Are you copying it into the Macro Window? That would be a bad idea.

Sorry for this delay… No, I don’t copy it into the Macro Window. One ID document open, one column with one font, optical kerning applied.

  • Which app version? Are you using the latest beta? If not, go to Glyphs > Preferences > Updates, activate both checkboxes and press the Update button.
  • Scripts updated to the latest version?