Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Sequence of Find and Replaces with Special Characters

Community Beginner ,
Sep 27, 2023 Sep 27, 2023

Good afternoon!

 

I have a need for the FIND AND REPLACE tool, but it is a slightly more complex issue than what I found in the community (including Carlos Canto's scripts).

 

I need a sequence of FIND AND REPLACES that involve replacing special characters. In other words, replace LINE BREAKERS for DOBLE LINE BREAKERS, something like:

 

to locate:
^n

replace with:
^n^n

 

or


to locate:
(space)^n

replace with:
^n

(to remove spaces at line ends)

 

Another thing I noticed is that when I use the FIND AND REPLACE scripts, the text has the formatting style of the first characters. This is a problem for me because the text already has formatting worked on with bolds, italics, font sizes, etc.

 

So, what I need is something that would allow me to RECORD a Find and Replaces sequence from Illustrator itself.

 

Is this possible?

 

 

-----

 

Boa tarde!

 

Eu tenho uma necessidade com ferramenta FIND AND REPLACE, mas é uma questão um pouco mais complexa do que encontrei na comunidade (inclusive com os scripts do Carlos Canto).

Eu preciso de uma sequência de FIND AND REPLACES que envolvem a substituição de caracteres especiais. Ou seja, substituir LINE BREAKERS for DOBLE LINE BREAKERS, algo como:

 

localizar:
^n

substituir por:
^n^n

 

ou


localizar:
(space)^n

substituir por:
^n

(para remover espaços nos finais de linha)

 

Outra coisa que notei é que quando uso os scripts de FIND AND REPLACE, o texto fica todo com o estilo de formatação dos primeiros caractéres. Isso para mim é um problema pois o texto já tem formatação trabalhada com bolds, itálicos, tamanhos de fontes, etc.

 

Então, o que eu preciso é algo que me permitisse GRAVAR uma sequência de Find and Replaces do próprio Illustrator.

Screen Shot 2023-09-27 at 18.28.53.jpg

Isto é possível?

 

TOPICS
How-to , Scripting , Tools
147
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Adobe