Skip to main content
marcZ89
Inspiring
October 10, 2017
Question

Non breaking space AppleScript

  • October 10, 2017
  • 1 reply
  • 1507 views

I'm replacing text from text frames within an illustrator file. Strings are pulled from an XML.

My problem is that the strings within the XML contain non-breaking spaces that are not carried over Illustrator when writing the text in the text frames.

Is there a way to write non-breaking spaces from AppleScript to text frames in Illustrator?

Thanks!

This topic has been closed for replies.

1 reply

Silly-V
Legend
October 10, 2017

What if you put in unicode string "\u00a0" ?

marcZ89
marcZ89Author
Inspiring
October 10, 2017

Thanks for your reply!

I tried your suggestion but it just printed the string "\u00a0" in the text frame.

Before I also had tried   and   but this just printed a regular space.

marcZ89
marcZ89Author
Inspiring
October 10, 2017

of course it wrote "& nbsp"