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:
----------
Text2
Traceback (most recent call last):
  File "<console>", line 1, in ?
NoValidObjectError: Object not found
----------

How must I set  a text to a Text Box?

Sincerely,
Ruslan V. Sulakov


Reply via email to