[scribus] scribus script to write current document name
Owen
rcook at pcug.org.au
Thu Dec 9 22:47:53 CET 2010
On Thu, 9 Dec 2010 20:08:19 +0000
michael biggs <mjbiggs at hotmail.com> wrote:
> 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.
Not sure what you want to do exactly, but have a look at the Scribus
Help (Key F1) and go to "For Developers, then peruse the Scripter API
Also have a read of
http://wiki.scribus.net/index.php/Category:Scripts_%26_Plugins#Beginners_Scripts
may provide some clues
Owen
More information about the scribus
mailing list