Script Commands

Previous topic - Next topic


I would like to write a small script to apply paragraph styles to a number of items on a page. These are label boxes which will contain a number, default text is '###', it will be styled 'House Number' and another box with default text 'Resident Name' which will be styled 'Resident Name'. Both of these paragraph styles are defined. I can figure out how to find the text box and identify contents, but I can't locate the command which will set the style. I can't find a list of all scribus commands. I can divine a lot from the examples in the wiki but haven't come across one for applying an available style. Right now I'm doing it manually, but with 24 boxes per page that's tedious. Any help appreciated.