Thanks for your help!
I don't know what was wrong in my code, but if yours everything is working !
Best posts made by Hugo Jourdan
Latest posts made by Hugo Jourdan
Tracking for txt variable doest'n work
I started to write a Drawbot script to build automatic proofing files for my fonts.
I would like to change the tracking of a textBox, but there is a problem.
When I use a variable as txt, tracking doesn't work (example bellow)
textBox(FormattedString(txt=Text_sample, fontSize=50, tracking=200, font='Helvetica'), (10, 10, 400, 400)
But If I replace the variable Text_sample by a real text with '', it's work.
textBox(FormattedString(txt='Test', fontSize=50, tracking=200, font='Helvetica'), (10, 10, 400, 400)
How can I apply tracking to a textBox ?
Or If it's not possible does it exist an alternative ?