[scribus] How can I add an automatic page number into a text frame in a Python script

Andreas Huennebeck acmh at gmx.de
Tue May 11 12:19:53 CEST 2010


I'm writing a Python script which creates a text frame which should contain
an automatic page number. In the Scribus GUI one can do this with Ctrl-Alt-Shift-P,
but simply calling scribus.setText('#') in the Python script does not work
(of course). Is there a way to create a Python string with special characters?

Andreas Hünnebeck | email: acmh at gmx.de
----- privat ---- | www  : http://www.huennebeck-online.de
GPG-Key: http://www.huennebeck-online.de/public_keys/andreas.asc
PGP-Key: http://www.huennebeck-online.de/public_keys/pgp_andreas.asc

More information about the scribus mailing list