[scribus] python script result

JLuc jluc at no-log.org
Tue Apr 20 21:15:58 UTC 2021


Hello,

I'd like to use the page count of a document in a shell script (linux)
A python script can access that count with `scribus.pageCount()`

How can scribus script can output this as a string,
so it's used in a shell script afterward ?

I imagine doing it via writing the result in a text file.
Is there maybe a better way ?

JLuc





More information about the scribus mailing list