with the following command:
from robofab.interface.all.dialogs import AskString
I get this traceback:
Traceback (most recent call last): File "script.py", line 21, in File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/robofab/interface/all/dialogs.py", line 556, in AskString File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/EasyDialogs.py", line 24, in ImportError: cannot import name GetNewDialog
what am I doing wrong?
no, robofab dialogs requires carbon see https://groups.google.com/group/robofab/browse_thread/thread/ad1eedb2f0716e71?hl=en
A lot happened already and they will work on the next update. (this will not take that long any more, RoboFont 1.1 is already been send to the beta testers)
ah yes, I see. thanks!
@JBL Have you looked at the Dialog Kit examples on the Type Supply site:
I adapted the example there, calling it AskStringRF, if you would like to use it until the RoboFont update comes out:
Just paste the code into your script in place of askString and the code will return the variable "s". Good luck!