On Monday 02 March 2009 14:58:46 a.l.e wrote: > hi chantal > > > Hi, I am writing a script that loops through textboxes in a document > > and resizes them until the frame fits. However after resizing and re > > evaluating the overflow the script gives me the exact same number. How > > is that possible and what can I do about it? > > [...] > > >> OverflowChar = scribus.textOverflows(CurrentItemName) > > which number does come back? afaik, only 1 and 0 are returned, not the > number of chars overflowing (as the API states)... but i can't test if > for you right now. > > > ciao > a.l.e > > _______________________________________________ > scribus mailing list > scribus at lists.scribus.info > http://lists.scribus.info/mailman/listinfo/scribus
Thanks for your response but this is not correct, I get values larger than 1. You will see it if you test the script.
