you did give me a solution and i am still trying to figure out how to make it work.
lindseybock123 Réfléchir tu sais faire ?
Avec le script de CarlosCanto
// JavaScript Document for Illustrator
var active_doc = app.activeDocument;
var search_string = /\r/g; // g for global search, remove i to make a case sensitive search
var replace_string = String.fromCharCode(3); // pour "\n"
var text_frames = active_doc.textFrames;
var this_text_frame, this_text_frame;
if (text_frames.length > 0) {
for (var i = 0 ; i < text_frames.length; i++) {
this_text_frame = text_frames[i];
new_string = this_text_frame.contents.replace(search_string, replace_string);
this_text_frame.contents = new_string;
}
}
elleere LR Pour vous servir...