pastebin.ch - set style

Subject
set style
Author
Unnamed
Description
No description given
Posted on
Wed, 03 Mar 2010 21:33:04 +0100
Content
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

try:
    # Please do not use 'from scribus import *' . If
you must use a 'from import', # Do so _after_ the 'import scribus' and only import the names you need, such #
as commonly used constants. import scribus except ImportError,err: print "This Python script is written
for the Scribus scripting interface." print "It can only be run from within Scribus."
sys.exit(1) frame = scribus.getSelectedObject(); scribus.selectText(0, scribus.getTextLength(frame),
frame); scribus.setStyle('a');
Don't email to hereI'm now supporting the experiment spamschlucker.org too :)