This could be possible through scripts only, hence moving this thread to InDesign Scripting
Also, please refer to the similar discussion mentioned below:
If you intend to use this for page numbers on the outside, as per your example, then the simplest way is to create a text box as wide as the text frame. Alt+Shift+drag it to the other spread; either use manual guidelines or Smart Guides to position it into the same place. Set the text justification to "Away from spine", and you can use the same paragraph style for both without overrides.
(And of course it can be scripted(*) as well. You might not even need the calculation; page coordinates can be temporarily set to "Page", rather than "Spread", so all positions only need negating -- or so I believe, off the top of my head & rather late at nite.)
(*) InDesign does not have "macros" or otherwise recordable "actions".
2 people found this helpful
… But if you wanna play!…
At the beginning, just select the items you want to duplicate on the other side:
One click later! …
Of course, it works from right to left and on the entire active spread [items on the 2 pages to be duplicated on the other one].
… For fun: this doesn't work if the spread contains only one page! [of course!]
[ It's done by script! … Personally, not for free! ]
Are you will to post the script?
1 person found this helpful
It seems an ideal case for using the Spread coordinate space. (The below snippet should work whatever the ruler units, origin, or spread view orientation.)
1 person found this helpful
Thanks buddies for your feedback,
Now there is a funny thing: we can perform a full reflection instead—including rotation/shear attributes— and this would require a single SCALING step relative to the center of the spread. No per-item calculation required in that case :-) In other words, this could be applied to a plural specifier as well—stuff like ...pageItems.everyItem()—with a significant performance gain.
The code is even simpler:
Note that the transform() arguments are determined once and do not depend on the particular page item under consideration.
Results look like:
Here again the particular user settings (units, rulers, spread rotation…) do not impact the process.
As we say in French, "N'en jetez plus"
It does have a problem: the text frames get mirrored as well. It's because of that annotated "-1" in the matrix.
The mirroring text frames can be worked around by explicitly looping over the duplicated items and reverse-mirroring them in-place (around their own center), but then you might as well use the first script Marc's suggested.
Proud to get my ACP & MVP colleagues so verbose
Your concern is valid but sometimes a mirrored image is ok, sometimes not. Of course, you could introduce a dialog to let the user choose. But even then you an have mixed scenarii. So eventually, the time saved by getting all mirriored items may balance the one you will spend by manually fixing those peculiarities.
food for thought.