[Scribus] python first try

Ruslan V. Sulakov ruslan2007t
Mon Feb 12 16:25:41 CET 2007

I run a simple python script using puthon console..

import encodings.idna
aname = ""+getSelectedObject() 
print aname
t = encodings.idna.ToUnicode( 'text is here' ) 
setText(aname, t) 

But it returns such result:
Traceback (most recent call last):
  File "<console>", line 1, in ?
NoValidObjectError: Object not found

How must I set  a text to a Text Box?

Ruslan V. Sulakov

More information about the scribus mailing list