> Hi! > > 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, UNIT_PICAS, UNIT_POINTS. Under Printing there is useICC which might be of interest to you. The scripter API is very extensive and worth perusing. -- Owen
