Hi Jain Super. Is the change committed to svn?
mrh. On 2012-12-05 04:49, Jain Basil Aliyas wrote: > Hello Mark, ale, > > I've added an attribute in document api which will return a list of pages > in a document. You may try out *Scripter.activeDocument.pages* for getting > this. > > Regarding the number attribute in page api, I've fixed it as follows: > > *page = Scripter.activeDocument.activePage* > *page.number* #this will give the page number. > > The setNumber method was actually meant to set the page as active. As you > mentioned, it makes more sense to place it in document api. Hence, I've > moved it there: > > *Scripter.activeDocument.setActivePage(2)* > > Thanks & Regards, > > > On Wed, Dec 5, 2012 at 12:49 AM, Mark Heieis <mheieis at alois.ca> wrote: > >> I agree. >> >> >> On 2012-12-04 11:16, ale rimoldi wrote: >> >>> On Tue, 04 Dec 2012 11:15:25 -0800 >>> Mark Heieis <mheieis at alois.ca> wrote: >>> >>> Hi A.l.e. >>>> You don't like it where? >>>> >>> in page :-) >>> >>> not 100% sure, though... >>> >>> but i don't like to get a "page" object and set through it the active >>> page... >>> i think i'd prefer to set the default page in the document object... >>> >>> to be discussed... >>> >>> ciao >>> a.l.e >>> >>> ___ >>> Scribus Mailing List: scribus at lists.scribus.net >>> Edit your options or unsubscribe: >>> http://lists.scribus.net/**mailman/listinfo/scribus<http://lists.scribus.net/mailman/listinfo/scribus> >>> See also: >>> http://wiki.scribus.net >>> http://forums.scribus.net >>> >> >> ___ >> Scribus Mailing List: scribus at lists.scribus.net >> Edit your options or unsubscribe: >> http://lists.scribus.net/**mailman/listinfo/scribus<http://lists.scribus.net/mailman/listinfo/scribus> >> See also: >> http://wiki.scribus.net >> http://forums.scribus.net >> > >
