Hello! I have used this script before without any issues. However, since I updated my Glyphs to version 3.2, the code is no longer functioning. I have tried uninstalling and reinstalling the script, but it still does not work. Is there any chance we could find a solution for this? Thank you in advance!
Do you get an error in the macro window?
Thank you for your prompt answer. I did not receive any error messages. I simply ran the script, but nothing happened.
Nothing happened, okay, but did you check the Macro Window? (View > Show Macro Window)
Thank you! I checked and it did have an error message. The error looks like this:
Traceback (most recent call last):
File âAdd PUA Unicode Values to Selected Glyphs.pyâ, line 8
import vanilla
File âinit.pyâ, line 6
from vanilla.vanillaColorWell import ColorWell
File âvanillaColorWell.pyâ, line 5
from AppKit import NSColorWellStyleDefault, NSColorWellStyleMinimal, NSColorWellStyleExpanded
ImportError: cannot import name âNSColorWellStyleDefaultâ from âAppKit._AppKitâ (/Users/welcome/Library/Application Support/Glyphs 3/Repositories/GlyphsPythonPlugin/Python.framework/Versions/3.9/lib/python3.9/site-packages/AppKit/_AppKit.cpython-39-darwin.so)
Please remove and reinstall the Glyphs python and the vanilla module in the plugin manager.
It works! The script is running normally now. Thanks a ton!