[scribus] checking whether current document name contains a string
john Culleton
john at wexfordpress.com
Mon Sep 19 19:41:18 UTC 2011
On Mon, 19 Sep 2011 13:09:30 -0400
Fred Zimmerman <wfz at nimblebooks.com> wrote:
> How can I check whether the current document name contains a given
> string?
>
> -----------------------------------------------------
> Subscribe to the Nimble Books Mailing List http://eepurl.com/czS- for
> monthly updates
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.scribus.net/pipermail/scribus/attachments/20110919/150dc9c7/attachment.html>
> ___ Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
>
> _______________________________________________________
> Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
> http://www.doteasy.com
Do you mean in the body of the document or just in the name? If in the
body of the document I would open the sla file in gvim and do a simple
string search:
<esc>
followed by
/string name
If you have a Linux OS then it becomes even simpler:
grep 'string to search for' docname.sla
--
John Culleton
Wexford Press
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
More information about the scribus
mailing list