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

Script to move a facing page after itself?

Contributor ,
Nov 12, 2016 Nov 12, 2016

Copy link to clipboard

Copied

Hi all,

This seems to be an age old question. How to quickly split spreads for wiro-bound?

I've tried Harbs' script separatepages.jsx but never got it to play nice with the right-hand page.

Instead of manually dragging each right-hand page slightly to the right, to get it to split...how about scripting Move Pages?

If you select, say, page 3, click on Move Pages... and set it to move page 3 After page 3, it will simulate a manual move as above.

Is there a way to script that for multiple pages?

There are a couple of ways I can think of it working:

Manually select each right-hand page. Script takes those page numbers then performs the Move Pages sequence.

Script takes all numbers of odd pages and applies the Move Pages sequence.

Would be awesome if someone could help as I don't even know where tp start with creating a script for this.

Justy

TOPICS
Scripting

Views

974

Translate

Translate

Report

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
Mentor ,
Nov 12, 2016 Nov 12, 2016

Copy link to clipboard

Copied

Hi

Possibly no script needed...

Select all pages in Page Panel and play with this panel right-click-options:

preserveLayoutWhenShuffling

AND

allowPageShuffle

It should reflow pages...

Jarek

Votes

Translate

Translate

Report

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
Contributor ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

Hi,

Nope, they don't split, no matter which combination of off and on with those options.

Thanks for trying to help.

Votes

Translate

Translate

Report

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
Contributor ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

I found an applescript that starts make me think this is achievable.

However, I want this:

Screen Shot 2016-11-13 at 10.40.22.png

To look like this:

Screen Shot 2016-11-13 at 10.40.35.png

But the following Applescript (page 3 after page 3 doesn't work):

tell application "Adobe InDesign CC 2015"

tell document 1

move page 3 before page 4

end tell

end tell

Makes it look like this:

Screen Shot 2016-11-13 at 10.40.50.png

Votes

Translate

Translate

Report

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
Community Expert ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

Hi Justy,

see the following script by Harbs from in-Tools:

Separate Pages Script | in-tools.com

Regards,
Uwe

Votes

Translate

Translate

Report

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
Community Expert ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

What's the wrong result with Harbs' script if you run it on your example document?

Votes

Translate

Translate

Report

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
Contributor ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

Anything broken from the master on a right-hand page moves further away from the spine.

I've never had his script work properly with any of my documents because of this.

Votes

Translate

Translate

Report

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
Community Expert ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

JustyR wrote:

Anything broken from the master on a right-hand page moves further away from the spine.

I've never had his script work properly with any of my documents because of this.

Just to get this right:
Do you say that the contents that is applied by a master on a right-hand page is shifted away from the spine?

I think, that there are a couple of rules to get this right.

1. Do not place contents accross the spine.

2. If contents touches the spine, move it a bit away: 0.001 mm will do.

And maybe the most important rule:

3. Make sure that all your horizontal margin values for the pages are set to 0 before running Harb's script.

Regards,
Uwe

Votes

Translate

Translate

Report

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
Contributor ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

LATEST

Well, I'd never have known to zero the inside and outside margins before running the script.

Thanks for letting me know that. Now it works.

Obviously, not ideal as you have to put the margins back again, but it does save time overall.

Screen Shot 2016-11-13 at 16.02.45.png

I wonder if the script could be updated to record the margins of each master?

It then zeros inside and outside for each master.

Breaks the spreads.

Then puts the original inside and outside measurements for each master back again.

??

Votes

Translate

Translate

Report

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
Contributor ,
Nov 13, 2016 Nov 13, 2016

Copy link to clipboard

Copied

Thanks, Uwe, but that script's never worked properly for me.

Votes

Translate

Translate

Report

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