[Scribus] Scripter & InsertText

Guest007 trash4
Tue Nov 9 17:45:38 CET 2004


? ????????? ?? ??????? 09 ?????? 2004 10:48 VAN?K Petr ???????(a):
> what happens when you create text box named e.g. 't' in new document, then
> run Script->Script Console
> and then type
> InsertText('text', 't')
> ?
It's work, but I have another question. If in script I type
a=createText(50,50,200,80)

'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).
If I typed in Script Console
  a=createText(50,50,200,80)
  insertText('text', 0, 'a')
I've got an empty frame. If I manually change name to "a" -- all works.

-- 
WBR Guest007
JID: guest007 at jabber.ru




More information about the scribus mailing list