[scribus] Scripter and Preferences
Craig Bradney
cbradney at scribus.info
Wed Nov 24 16:12:20 CET 2010
On 24/11/2010, at 3:34 PM, Gregory Pittman <gregp_ky at yahoo.com> wrote:
> 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.
>
Scribus should default to points unless the user specifies ( should, not sure if it requires that paramete now)
Craig
More information about the scribus
mailing list