On 10/10/2014 10:02 PM, Gregory Pittman wrote: > On 10/10/2014 08:53 PM, Gregory Pittman wrote: >> On 10/09/2014 10:16 PM, Gregory Pittman wrote: >>> http://wiki.scribus.net/canvas/Using_the_new_applyMasterPage%28%29_command >>> >> The script will now accept a range like '4-10' in the list of pages >> to apply the Master Page to. >> > What I'd like to do next is a new script that not only could handle > all, even, and odd, but also a format like 'i/n', where you might wish > to apply the MP to the first of every three pages (1/3), or the second > (2/3), or the third (3/3). I think this is doable without great > difficulty, and to be generalizable (4/7 would be the fourth out of > every seven pages). > As first step, I have updated the paste2all.py script on this page:
http://wiki.scribus.net/canvas/CopyObject%28%29_and_pasteObject%28%29 so this is the method I will use to allow one to specify the 2nd of every 3 pages, or 4th of every 7: 2/3 and 4/7 respectively. Now I just need to "mash up" the logic of this script and assignMP.py. Greg
