[scribus] Scripter and Preferences
olivier.berten at gmail.com
Wed Nov 24 00:22:01 CET 2010
If it's that trivial, then there's no point in having that preference at
Since extension scripts are supposed to work inside the application, it
seems rather obvious to me they need to take in account the preferences
that lead all other parts of the application... Or maybe I just didn't
get the point...
Le 23/11/10 15:17, Gregory Pittman a écrit :
> On 11/23/2010 03:58 AM, Olivier BERTEN wrote:
>> The thing is I'd like to create a new document with the user's default
>> unit. getUnit() is available only when the document is already created.
>> And for the profile question, I want to import CIE-Lab colors as RGB or
>> CMYK in the user's color space (or it doesn't really make sense...).
> Since changing the units after document creation is trivial, it's hard
> to see a strong need for this.
> Furthermore, in any script which performs a number of operations with
> position and size of items, the python would be more complex to allow
> for the various units which might exist in the document created.
> You could always get the user's feedback with a valueDialog to choose
> the units when the document is made, with the default being the most
> likely possibility in your estimation.
> scribus mailing list
> scribus at lists.scribus.net
More information about the scribus