Well, no, you cannot "attach" custom text to the Previous and Next page numbers. Fortunately, it's easy to script -- see http://indesignsecrets.com/how-to-add-automatic-jump-lines.php, and then especially my script in the comments :-)
What timing for me to ask this!!
What I meant by automated text is "is text entry something that can be handled within a script?" even though that's really minor to the overall solution.
Theunis, I made the para styles, threaded the test from page 1 to page 3
I failed on both accounts. I tried putting the cursor in the threaded story. Input the size of the frame when asked. Nothing happens (cs6). I then created a separate text frame and overlapped the threaded text. Ran script. Same result.
Is it me or Memorex? :-)
CS6 ought not to make a difference ... hold on, I'll give it a go.
Message was edited by: [Jongware] Oh drat. Ummm, please stand by.
Okay, my code was supposed to be CS6-friendly -- I usually work on CS4. I was sure I tested it on a newer version ... but maybe I did not. "...Oops" (as quoted from the movie "Independence Day").
Try the refreshed version, if you please.
I dont see why InDesign's version matters, but then ... I'm not Theunis.
Now that it's working, can I offer some feedback?
The script wants to ensure you ask for the right frame size. But it doesn't understand 1p3, rather whole integers [crashes each time]. So for a majority of print people working in picas, it will usually be too shallow (1) or too deep (2).
That should take nothing away from this amazing effort, but picas being popular and also being a pain to accept measurements such as 1p3 makle it a toughie. It would mean changing your page spec to points, then running the script, then changing to picas.
If one could get at the code in which you pre-specify measurement units and even frame size, it'd then be on auto-pilot.
All in all, a fascinating script, Theunis.
So, I am scanning your script, but it must default to millimeters because I really dont see a call for that. And I'm sure it can be set to points, or better, set the default text frame to whatever value and hit OK on the dialog. As jumplines are always locked to a style of the publication, they rarely change, except from publication to publication.
So I poked around in here for the answer: http://jongware.mit.edu/idcs6js/pc_TextFramePreference.html
Would AutoSizingTypeEnum.HEIGHT_ONLY be the proper call to specify -- in english, not script -- "take this 10 pt paragraph style and fit its vertical measurement" ??
Theunis, don't you love it when a non-cook tries to get his grubby paws on your roast?
How's this for an idea? I dialed in a decimal value in the default frame height. It's a universal workaround for any measurement system! That solves that.
In addition, if I could attach an Object Style to the continued line and tell it to fit frame to content, annnnnd always align the text frame to the right (or left), where jumps always go, this would then allow for stories to be 3 columns, for instance, and for the continued lines to scale so that they follow the width of the column.