<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I have posted updated sets of 13 patches from Juraj for Scribus 1.4 <a href="http://bugs.scribus.net/view.php?id=12594" target="_blank">http://bugs.scribus.net/view.php?id=12594</a> and Scribus 1.5 <a href="http://bugs.scribus.net/view.php?id=12572" target="_blank">http://bugs.scribus.net/view.php?id=12572</a> to run a python script from a command line and then exit without requiring user interaction.<div><br></div><div>The patches make it easier to write scripts that use Scribus to print files, and they also add support for reading and saving PDF options and for specifying PDF 1.5.</div><div><br></div><div>The patches allow you to do more than just print. For example, you could generate form letters.by writing text from a database into text frames.</div><div><br></div><div>If anyone tests the patches, please send feedback.</div><div><br></div><div><div><div>0001: Add the '--python-script file' CLI option to run 'file' as python script.</div><div><br></div><div>0002: Now help(scribus.newDocument) in python console runs without error.</div><div><br></div><div>0003: Translate strings to variable names with unitGetUntranslatedStrFromIndex instead of unitGetStrFromIndex so python scripts are not dependent on the locale.</div><div><br></div><div>0004: Fix the help message for scribus.PDFfile.</div><div><br></div><div>0005: Fix reading the prefs file. Scribus was opening the wrong file.</div><div><br></div><div>0006: Set ScribusMainWindow::ScriptRunning earlier in the initialization process. Scribus was using it before it was initialized.</div><div><br></div><div>0007: Add two python commands readPDFOptions(file) and savePDFOptions(file).</div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">0008: Fix errors when reading PDFOptions.</span></div><div><br></div><div>0009: Fix errors in error messages related to reading PDFOptions files.</div><div><br></div><div>0010: Escape HTML codes in scripter error messages so error messages enclosed by <> show correctly.</div><div><br></div><div>0011: Enable the --no-gui CLI option so 'scribus --no-gui --python-script myscript.py' runs a script and exits without starting the GUI.</div><div><br></div><div>0012: Update the python scripter to allow exporting documents in PDF 1.5. Scribus limited the 'version' variable to 14 instead of 15.</div><div><br></div><div>0013: Do not show a messagebox when python scripts raise an error.</div></div></div><div><br></div><div>Regards,</div><div>William</div><div><br></div> </div></body>
</html>