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
- [scribus] Scripter and Preferences Olivier BERTEN
- [scribus] Scripter and Preferences Owen
- [scribus] Scripter and Preferences Olivier BERTEN
- [scribus] Scripter and Preferences Gregory Pittman
- [scribus] Scripter and Preferences Olivier BERTEN
- [scribus] Scripter and Preferences Gregory Pittman
- [scribus] Scripter and Preferenc... a.l.e
- [scribus] Scripter and Prefe... Gregory Pittman
- [scribus] Scripter and Prefe... a.l.e
- [scribus] Scripter and Prefe... Gregory Pittman
- [scribus] Scripter and Prefe... Craig Bradney
- [scribus] Scripter and Prefe... Olivier BERTEN
- [scribus] Scripter and Prefe... Gregory Pittman
- [scribus] Scripter and Prefe... Olivier BERTEN
- [scribus] Scripter and Prefe... Gregory Pittman
- [scribus] Scripter and Prefe... Olivier BERTEN
