Copy link to clipboard
Copied
I want to move all my text frames up just a tad. I presume I can do this with a Master Page, but not sure the easiest way to do it. At this point my Master Page does not have a text frame in it. Easiest way to accomplish this? CS6/Mac
If you're talking about a file with already existing text frames on the document pages then creating text frames on the Master page will have no effect on those frames. The frames on the document pages would only be linked to the Master if they had been originally created on the Master. Even then once text had been flowed into the document page frames it would lose any link to any text that is in the Master Page text frames but could still be moved through the Master as long as the geometry and
...Copy link to clipboard
Copied
no one?
Copy link to clipboard
Copied
Are you talking about a document that has already been created without master pages? You'll have to provide more detail about the scope of what you're trying to do.
Copy link to clipboard
Copied
It has Master Pages. As I said above, my Master Page does not have a text frame in it. It only has headers/page numbers.
Copy link to clipboard
Copied
If you're talking about a file with already existing text frames on the document pages then creating text frames on the Master page will have no effect on those frames. The frames on the document pages would only be linked to the Master if they had been originally created on the Master. Even then once text had been flowed into the document page frames it would lose any link to any text that is in the Master Page text frames but could still be moved through the Master as long as the geometry and position of the document page text frames was not changed. Once any alteration to the size or position of a document page text frame has been made it would lose its link to the master.
As to your original question about moving the frames just a bit that might have to be done by selecting all the frames on the page and either nudging them up a "tad" using the arrow keys or by adding or subtracting a fixed amount in the X and/or Y coordinates in the Control Panel.
Copy link to clipboard
Copied
Am I reading you right that each of the 300+ pages has to be nudged individually?
Copy link to clipboard
Copied
Yes. Had you created primary frames on the master pages, you could have just moved those two frames, and the body pages would follow. For long documents, that is the way to go, for this specific reason.
Copy link to clipboard
Copied
Is there any reason I couldn't start over, create text frames in the Master Pages, and then copy the text from the original into the new document?
Copy link to clipboard
Copied
You can certainly do that. Additional considerations:
~Barb
Copy link to clipboard
Copied
When I copy the text over, am I going to paste the text itself into a new text frame?
Copy link to clipboard
Copied
Barb, going back to your method. I'm still a bit confused. You said:
"Then copy the text from the current file, and auto-flow it into the new file"
But I'm confused about a couple things. I made the A-Master have a text frame that is in the position I want the text frames to be in. But it seems I can't assign this frame to pages before adding the text?
When you say copy the text in, are you talking about just highlighting and then copy/pasting the actual text? Or am I placing the document? Do I need to create a text frame first in the place I want it to be?
Copy link to clipboard
Copied
Highlight, copy and paste the text from the other file:




Copy link to clipboard
Copied
There's a script that comes with InDesign called "Adjust Layout" (you'll find it in the Samples > Javascript folder in your scripts panel) that will allow you to nudge all frames upwards. Very easy to use.
Ariel
Copy link to clipboard
Copied
I'm not seeing the scripts panel?
Copy link to clipboard
Copied
Windows > Utilities > Scripts > Application > Samples > Javascript.
I've never used the script but when you select a frame and double-click on "Adjust Layout" you'll see the dialog below:

Copy link to clipboard
Copied
Ok, I found the script, though I'm a little confused about the how-to...

I just want to raise all the text frames .0417 in, how would I work that in this dialog?
Copy link to clipboard
Copied
Still trying to figure out how to select all of my text frames at once so I don't have to move ~300 of them individually...
Copy link to clipboard
Copied
Hi,
how about a script that moves all text frames of all pages up by .0417 in ?
Here some code:
/*
ExtendScript ( JavaScript ) snippet
Scope:
Active document
All text frames on all document pages
Notes:
Text frames on masters are not affected.
Text frames on pasteboards are not affected.
*/
app.documents[0].pages.everyItem().textFrames.everyItem().
move
(
// to parameter:
undefined ,
// by parameter:
[
0 , // x-direction
"-0.0417in" // y-direction
]
);
FWIW: You cannot select all text frames in your document at once.
Just the ones on a single thread spread. By scripting we cannot do that either, but we can address all text frames at once.
At least the ones that are not nested. The ones that are not grouped, not pasted inside or not anchored…
Regards,
Uwe
Copy link to clipboard
Copied
Wow, that seems cool, though I have no idea where I would put this coding...
Copy link to clipboard
Copied
Copy and save the code to a text-only ( no formatting! ) text file with suffix .jsx.
And see how to store the file and run the code from InDesign:
Indiscripts :: Indiscripts for Dummies
The no-formatting part is essential.
E.g. straight quotes must stay straight quotes!
So prepare an empty text-only file before pasting the code.
Regards,
Uwe
Copy link to clipboard
Copied
Hey Laubender, I've got TextMate and TextEdit, but don't see the option to save as .jsx in either. Am I missing something or is there another program I need to use?
Copy link to clipboard
Copied
Ok never mind, I think I saved it as .jsx in TextEdit, though running it is whole other problem. I've never done this before so have no idea what I'm doing. Just gonna start over from the beginning...
Copy link to clipboard
Copied
https://forums.adobe.com/people/left+bank+books wrote
Ok never mind, I think I saved it as .jsx in TextEdit, though running it is whole other problem. I've never done this before so have no idea what I'm doing. Just gonna start over from the beginning...
Hi,
if you are using TextEdit you can toggle between formatted and not formatted text with cmd+t.
Saving as .jsx seems to be no problem for you. Just use this suffix instead of .txt.
BTW: Make sure that suffixes are shown in OS X Finder.
Where to place the jsx?
I gave you a link that is describing this very clearly, I think. Here again, read through this:
Indiscripts :: Indiscripts for Dummies
In InDesign go to menu Window > Utilities > Scripts to get the Scripts Panel visible.
You now see two folders. Right-click the one saying User and execute the option "Reveal in Finder".
That's the folder where you have to move your script to.
If done, the script is immediately available in the Scripts Panel under User.
Executing the script is just a double-click on the script in the Scripts Panel.
FWIW: At the end of the code you could add one line of code alerting you that the script has been run.
Just type in a new paragraph:
alert("Done!");
The alert message is the text between the two straight quotes.
Change it to your needs 🙂
Hope, that helps!
Uwe
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more