[scribus] checking whether current document name contains a string

john Culleton john at wexfordpress.com
Mon Sep 19 20:03:22 UTC 2011


On Mon, 19 Sep 2011 15:44:40 -0400
Fred Zimmerman <wfz at nimblebooks.com> wrote:

> No, I mean to check in the scripter whether the name of the Scribus
> document that the scripter is working on includes a given string.
> There is a getDocName patch for v 1.5.0
> http://bugs.scribus.net/view.php?id=8597 but I am hoping for another
> approach that will work in 1.4.0 rc5.  There are os.path.split and
> os.path.basename commands in python (import os) but I can't get them
> to work.
> 

I misunderstood what you meant. I don't work in the scripter or in
Python so I can't be of assistance.
-- 
John Culleton
Wexford Press
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html



More information about the scribus mailing list