Andreas Huennebeck wrote:
>> 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?

Does currentPage(...) give you what you want?

    currentPage() -> integer

    Returns the number of the current working page. Page numbers
    are counted from 1 upwards, no matter what the displayed
    first page number of your document is.

http://docs.scribus.net/index.php?lang=en&page=scripterapi-page

-- 
Henry



Reply via email to