[scribus] Scripter and Preferences
rcook at pcug.org.au
Tue Nov 23 09:47:29 CET 2010
> Is it possible to get the preferences through the scripter?
> Like the default unit when you want to create a new document, or the
> color profiles if you want to do color conversions.
Under Document Commands there is;
getUnit(...) getUnit() -> integer (Scribus unit constant)
Returns the measurement units of the document. The returned value will
be one of the UNIT_* constants: UNIT_INCHES, UNIT_MILLIMETERS,
Under Printing there is useICC which might be of interest to you.
The scripter API is very extensive and worth perusing.
More information about the scribus