[scribus] scribus script to write current document name

José Antonio Rocha joseantoniorocha at gmail.com
Sun Dec 12 00:55:15 CET 2010


*docName = scribus.getDocName()*

You can hack around new and undocumented functions listing it in Scripter
console:

*dir() *

and key [F9]

2010/12/9 michael biggs <mjbiggs at hotmail.com>

>
> Hello
>
> I am looking for some help writing a simple script.
>
> With scribus running and a document open, the script will simply create a
> text box on a page of the open document, and then write the name of the
> document into the text box.
>
> What python command can I use to automatically get the name of the
> currently open document?
>
> All I've been able to get so far is the name of the python script that I
> run from the document.
>
> Any help appreciated.
>
> Thanks
>
> Mike
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.scribus.net/pipermail/scribus/attachments/20101209/8daf68af/attachment.htm
> >
> _______________________________________________
> scribus mailing list
> scribus at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus
>



-- 
------------------------------
[image: Meira]nome: "José Antonio Meira da Rocha"  tratamento: "Prof. MS."
cargo: "Coordenador do Curso de Relações Públicas Multimídia"
ies: "CESNORS/Universidade Federal de Santa Maria"
googletalk: email: MSN: joseantoniorocha at gmail.com
ICQ: 658222 Skype: "meiradarocha_jor"
veículo: [ http://meiradarocha.jor.br ]
fone: (55) 9651-0686
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20101211/d864c356/attachment.htm>


More information about the scribus mailing list