Copy link to clipboard
Copied
Can I convert highlighted text to Placeholder text in InDesign?
I have "live" text that I do not want to be read. I want the approver to focus on the layout.
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
[Moved from Comments forum to specific Program forum... Mod]
I remembered an earlier question, asking exactly the same thing. Quelle surprise, turns out I answered it as well
Copy link to clipboard
Copied
Do you have the same understanding of Placeholder Text as InDesign's developer had? Placeholder Text is any text with which you can fill a new layout with the paceholder text command.
If you have inserted text it is text, InDesign does not know if you filled a text frame with the command later or with any written text.
You can create any text as default placeholder text:
In the future you can use this text only by applying the placeholder text command.
Some issues you have to be aware:
Copy link to clipboard
Copied
Hello Will,
Here’’s my problem:
I updated a new design layout with approved formatted text from a previous layout. I chose to use the approved text because I know how long the length of each head and each paragraph are.
I want the client to focus on the new design and not on the content, so I want to change the text to placeholder text temporarily. I did not want to create two layouts; one with place holder text and one with approved text.
Kind of like changing the text to another language.
Does this make sense. I thought I did this years ago with another page layout program.
Thanks
Copy link to clipboard
Copied
You could try using Rot 13 on the text. Copy the text then paste it into the form here. Copy and paste the result.
This will step all letters by 13 places in the alphabet, wrapping. So A becomes N, B becomes O, C becomes P, and so on. Punctuation in unaffected.
I updated a new design layout with approved formatted text from a previous layout. I chose to use the approved text because I know how long the length of each head and each paragraph are.
I want the client to focus on the new design and not on the content, so I want to change the text to placeholder text temporarily. I did not want to create two layouts; one with place holder text and one with approved text.
Kind of like changing the text to another language.
Became…
V hcqngrq n arj qrfvta ynlbhg jvgu nccebirq sbeznggrq grkg sebz n cerivbhf ynlbhg. V pubfr gb hfr gur nccebirq grkg orpnhfr V xabj ubj ybat gur yratgu bs rnpu urnq naq rnpu cnentencu ner.
V jnag gur pyvrag gb sbphf ba gur arj qrfvta naq abg ba gur pbagrag, fb V jnag gb punatr gur grkg gb cynprubyqre grkg grzcbenevyl. V qvq abg jnag gb perngr gjb ynlbhgf; bar jvgu cynpr ubyqre grkg naq bar jvgu nccebirq grkg.
Xvaq bs yvxr punatvat gur grkg gb nabgure ynathntr.
Copy link to clipboard
Copied
But be aware, if the text is not a natural text the hyphenation does not work and it might look quite different!
Copy link to clipboard
Copied
Perfect. Is there a script or plug in for InDesign?
Sent from my iPhone
Copy link to clipboard
Copied
I remembered an earlier question, asking exactly the same thing. Quelle surprise, turns out I answered it as well
Copy link to clipboard
Copied
Does this work with InDesignCC 2017. Had errors when I saved and loaded in InDesign.
Copy link to clipboard
Copied
Very strange. (Although "errors", plural, is a bit of an exaggeration, as I only get one. It's still a weird one, tho'.)
The script gets its text from your local version of the default Placeholder Text command, and to make sure you get the most of it, it temporarily sets the font to Times New Roman in 8 points. However, even though I have a perfectly normal default font set which includes Times New Roman, ID CC 2017 insists it cannot "find" the font when addressed in a script. It does work when selected manually, so the font itself is not a problem.
Fortunately, the placeholder text frame doesn't really need to know what font to use. So it works if you take out that particular line - I've done so below.
if (app.selection.length != 1 || app.selection[0].constructor.name != "TextFrame")
{
alert ("Ground. Pull up. Ground. Pull up."); exit(0);
}
// Save selection
targetStory = app.selection[0].parentStory.texts[0];
// Make a Lorem frame
loremFrame = app.activeDocument.textFrames.add();
loremFrame.geometricBounds = [ "0mm","0mm", "200mm", "200mm" ];
// Hm? Surely this font USED TO BE available?
// loremFrame.insertionPoints[0].appliedFont = "Times New Roman";
loremFrame.insertionPoints[0].pointSize = 8;
loremFrame.contents = TextFrameContents.PLACEHOLDER_TEXT;
sourceStory = loremFrame.texts[0];
// Grab its words
sourceWords = sourceStory.words.everyItem().contents;
// .. and kill the placeholder
loremFrame.remove(0);
// Replace one word at a time. Start at the end.
sourceWord = 0;
destWord = 0;
while (destWord < targetStory.words.length)
{
targetStory.words[destWord].contents = sourceWords[sourceWord];
destWord++;
sourceWord++;
if (sourceWord >= sourceWords.length)
sourceWord = 0;
}
alert ("Safe landing. Have a nice day.");
Copy link to clipboard
Copied
The link doesn't work? thanks.
Copy link to clipboard
Copied
This is exactly what I need. Does this work with InDesignCC 2017? Tried to load in scripts but had errors.
Copy link to clipboard
Copied
I just found that I could highlight all the text in a text box, delete it, right click and I had the option to 'fill with placeholder text'.
Depending on how many boxes you have this might not be the most efficient way but it was pretty quick for me.
Copy link to clipboard
Copied
Thank you for reaching out and sharing the solution that worked for you. I am sure it will help other community members.
Thanks
Rishabh