[Scribus] [Scripter] Some issues

Craig Ringer craig
Fri May 27 21:03:18 CEST 2005


Cezio Statkiewicz wrote:

> Hi!
>
> I'm working with Scribus to make some ID's with scripter. I have some 
>questions about scripter API:
> 1) Is there any way to copy an object? 
>  
>
Not yet. That has been requested a few times though and the cleanups and 
improvements in 1.3 should make it possible to add it pretty cleanly at 
some point in 1.3 development. I doubt it'd ever make 1.2.x though.

> 2) Is there any way to create a document from a template (not page from 
>page template) or copy current layout from one page to another?
>  
>
Document templates are the same as any other document; you can just open 
the template using the scripter, saveAs(...) and proceed as normal. I 
honestly don't recall re cloning a page - it'd certainly be good, but I 
don't recall if there's a way to do it from the scripter yet.

> 3) I've found that images inserted with scripter don't have 'visible' 
>attribute set, so there's a need to make them 'visible' manually.
>  
>
That's interesting. 1.2.x or 1.3 ? I haven't seen this myself, but I 
haven't been doing much with the scripter or with Scribus in general 
lately (too busy with uni and work).

> Although those problems, I've found Scripter API quite powerfull and 
>very easy to use. It saved a lot of time to make about 200 ID's with 
>personalized information on each one. Thanks.
>
Always good to hear.

--
Craig Ringer




More information about the scribus mailing list