[scribus] Scripter problem
Owen
rcook at pcug.org.au
Mon Feb 16 09:10:22 CET 2009
Hi,
The script below works, but if I replace
setActiveLayer("Background") with
setActiveLayer("al")
the script falls over.
Either I am using getActiveLayer() incorrectly or there is a bug?
TIA
Owen
=============================================================
#!/usr/bin/env python
from scribus import *
newDoc(PAPER_A4, (10, 10, 20, 20), PORTRAIT, 1, UNIT_POINTS, FACINGPAGES, FIRSTPAGELEFT)
if haveDoc():
al = getActiveLayer() # is this correct
createLayer("c")
setActiveLayer("c")
setActiveLayer("Background")
#setActiveLayer("al")
==============================================================
More information about the scribus
mailing list