Sample scripts and plugin

Previous topic - Next topic

skhullar

Hi Team

Just started here. Need help.
Need some sample scripts and plugin to start understanding how they work
And where can we get documentation to create some of our own

Thanks

Sunil
 

a.l.e

this is my collection of scribus scripts:

https://github.com/aoloe/scribus-script-repository

the most recent ones contains best practices that i consider to be better : - )

when you open the scribus help, in the "for developers" section you have some help for creating scripts.

personally, i tend to use the web version i have created:

https://impagina.org/scribus-scripter-api/

skhullar

Baby step 1
Trying to run To_PDF defined in https://wiki.scribus.net/canvas/Command_line_scripts
but its not working (Windows)

using command line - "c:\Program Files\Scribus 1.6.1\Scribus.exe" -g -py d:\bat\to-pdf.py d:/tmp/test/scribus-test/1.sla

What am I missing here?

thanks

Sunil

a.l.e

you probably need a -- before the .sla file name:

"c:\Program Files\Scribus 1.6.1\Scribus.exe" -g -py d:\bat\to-pdf.py -- d:/tmp/test/scribus-test/1.sla

skhullar