[scribus] problems with the Scripter
lists at wibr.de
Sun Jul 10 14:55:10 UTC 2011
Am 10.07.2011 11:02, schrieb wibr:
> Hi Greg and a.l.e,
> 4. I put the following code in my loop:
> scribus.setText('Test 123',oneItem)
> itemText = scribus.getText(oneItem)
> The result is, that all text field are '456'. Can't be right, can it?
setText() resets all of the text field settings, like font, size and
color...didn't expect that!
So I tried:
currentColor = getTextColor(item)
Result is: "item" has no filling! I tried it on the console, same thing...
Anyway, my script is working and I will release it after some polishing
and testing! And I hope the color thing can be fixed somehow...
Thanks to Greg and a.l.e.!
More information about the scribus