[Scribus] Scripter & InsertText

Guest007 trash4
Wed Nov 10 11:48:02 CET 2004


? ????????? ?? ??????? 09 ?????? 2004 17:46 Craig Ringer ???????(a):
> On Wed, 2004-11-10 at 00:45, Guest007 wrote:
> > 'a' -> is this a name of textframe? And must be in a field "name" of
> > "Property" dialog? If so, then I have a trouble, because I have
> > locale=ru_RU.KOI8-R and most of scribus I see translated. Include names
> > of textframe (sometghing like "Text0", but in russian translation).
>
> Aah, that explains a lot.
>
> As a workaround, try setting your own frame names in the CreateText
> call, eg:
>
> CreateText(50,50,100,100,'framename')
>
> they'll need to be unique ASCII strings.
thanks for explain. This works. But big problem still exists, because it must 
be unique. In scripts like FontSample.py this make a problem. Why 
	a=createText(50,50,200,80)
	insertText('text', 0, a)
don't work? If 'a' is just a variable (object?) it MUST work. And MUST be 
independ from system locale. And 'a' is not a name of screen object. It's 
name of variable. Or I'm something miss?

-- 
WBR Guest007
JID: guest007 at jabber.ru




More information about the scribus mailing list