How to paste a certain component into selected glyphs?

Hello, I am finding a script/plugin to paste a component into selected glyphs or group being set with filters. Thank you for your support in advance!

Select the glyphs in your font view where you want to add the component.

Then hit Cmd+Shift+C (+Option if you want to do it for all masters) in order to select the component you want to insert.

Thank you for the answer! However, I am looking for “a script or extenstion” working the same, because I am expecting to add some condition/rules on the script. Thanks again

What do you mean by conditions?

What part do you need help on? What exactly do you want to do?

my_component = GSComponent(Font.glyphs["a"])
Layer.components.append(my_component)

This is the basic idea.

1 Like

Thank you! I wanted to paste a certain “smart” comp into lists of glyphs, but each list has different axis values (but still the same smart component). That would be incredibly helpful if you happen to manage to help it!

You’re not being very clear.

What do you need help with? How much experience do you have with scripting?

What exactly do you want to do? What is the context?