How to script properly with SpecialCharacters ?
- This topic has 0 replies, 1 voice, and was last updated 5 years, 7 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / How to script properly with SpecialCharacters ?
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / How to script properly with SpecialCharacters ?
Tagged: special characters exportFile
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
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!