[scribus] Scripter and Preferences

Gregory Pittman gregp_ky at yahoo.com
Wed Nov 24 15:34:26 CET 2010


On 11/24/2010 08:16 AM, a.l.e wrote:
> may i ask you then which unit should the script use if the programmer has not specified one?
>
> must the programmer specify the unit if no document is open? does it crash otherwise?

yes, you must specify this item in the newDocument command -- there is 
no UNIT_DEFAULT value.

afaik, your script will crash if you leave this out.

Greg



More information about the scribus mailing list