How to script properly with SpecialCharacters ?

Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / How to script properly with SpecialCharacters ?

Viewing 0 reply threads
  • Author
    Posts
    • #110457
      Adrien Durup
      Member

      Hi,

      The question of the Special (And Invisible) Characters and how to handle it is driving me crazy.

      My question is :
      Is it possible to insert special characters in an extendscript string ? Like, say, a frame break, typically.
      I’ve understood that SpecialCharacters enumerators does the job with .contents and GREP querries. But it seems a little bit heavy to me…

      I’m working on a script which imports CSV file content, splits it, replaces some characters, and exports every line to separated ICML files. I’ve managed to do it using a textframe container, “.contents” and “exportFile()”. But i wonder if there’s a way to do it in a “transparent (and elegant) way” without any opened document nor textframe, and with more “classic” javascript, that is. However, it seems that exportFile() is too restrictive…

      Thanks for reading
      Adrien

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
>