On 10/14/2012 11:52 AM, Gregory Pittman wrote: > On 10/14/2012 08:41 AM, Ian "Witty" Whitfield wrote: >> >> My one "complaint/suggestion" is the page number requirement - if you >> are only doing a few pages it works fine but what if you have a 250 page >> book and you add a new page near the front..... You now need to type in >> about 150 page numbers!!! Could "end" be added to the script in some way >> to avoid this??? > > I like a challenge of this type. Almost anything is doable, and I think > you've brought up something where the effort is worth it. > > What I want to try is to be able to enter 'odd' or 'even' for the pages, > then have the script detect this, and ask for a starting page, after > which a loop begins there and moves every other page's objects to the > end. It wouldn't really need to determine whether the starting page is > odd or even as promised, unless the user wants to add this protection. > > This would be a script where saving before running would be a good idea > -- if you shift 100 pages the wrong way, that's a lot of Undo'ing.
And so here it is: http://wiki.scribus.net/canvas/Shifting_All_Page_Objects#The_script.2C_v3 I didn't create some new loop of shifting, but instead just populated a list with every other page, then let the old code carry on from there. Greg
