Recent posts

#1
Scripts and Plugins / Re: Scripting engine in versio...
Last post by a.l.e - Today at 03:03:03 PM
That Scripter is in Scribus, but I doubt that it works.
And you need to recompile Scribus with that Scripter activated (instead of the "normal" one) to use it.

It has never been used and it's basically abandoned.

I have plans for creating a new engine, with a more structured API, but it's not really a high priority right now.
(I guess that I need to sit down with Jean, and find out why it does not build...)
#2
Scripts and Plugins / Scripting engine in version 1....
Last post by hjh - Today at 12:32:32 PM
Hi

Then entry page about scripting in the wiki
https://wiki.scribus.net/canvas/Category:Scripts
mentions a new scripting engine in a note.

"The next steps will be to get the script engine to work (should already be ok)"

Is a new scripting engine working in 1.6.4? And what is new about it?

There is a documentation for Scribus version 1.5 about a scripter 2

https://scribus-scripter.readthedocs.io/en/latest/#

Does this documentation apply to Scribus 1.6.4?

--Hannes

P.S. If I evaluate the following

import scribus
document = Scripter.activeDocument
margins = document.margins
margins.top

in the console window I get an error message.


#3
General Discussion / Re: June 2025
Last post by a.l.e - Today at 08:10:11 AM
It already happened in July:


Open tickets with pending patches:


Tickets with "simple" tasks:

Scripts to be created
#4
General Discussion / June 2025
Last post by a.l.e - Today at 08:06:38 AM
June was a low activity month.

But we were not inactive, and a few cleaning up tasks have been performed (of course, several bugs have also been fixed!):

  • Improve the naming of the properties in the .sla file format
  • Merge of the "Infrastructure" issue tracker into the main one (and resolving or closing most of the tickets that were in there)
  • Resolving, triaging and/or closing some of the oldest tickets that were still open (we're talking about twenty years old tickets...).
#5
Scripts and Plugins / Re: new document with size A3 ...
Last post by hjh - July 16, 2025, 08:45:58 PM
Thank you prcek and Ale.

This solves the issue.

I have to pay attention that the paper size and the units for the document match
scribus.newDocument(scribus.PAPER_A3_MM, (10, 10, 10, 10), scribus.LANDSCAPE, 1, scribus.UNIT_MILLIMETERS, scribus.NOFACINGPAGES, scribus.FIRSTPAGERIGHT, 1)

--Hannes
#6
Scripts and Plugins / Re: new document with size A3 ...
Last post by a.l.e - July 16, 2025, 08:38:59 PM
btw, for examples, you can have a look at the scripts in

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

but i guess you already found that out, when i gave you the link to my version of the boilerplate...
#7
Scripts and Plugins / Re: Setting the border of a te...
Last post by a.l.e - July 16, 2025, 08:28:26 PM
As far as I can tell, Scribus does not have the concept of "no border".

If you set the line to 0, then you will get an "hairline" border (you can try it in the console: you will see that, then, the properties palette shows the value as "hairline").

If you look at how the text frames are created by default, you will see that the color of the border is set to "transparent".

This seems the way Scribus does "no borders"... (somehow, I always did this way, but never had any thoughts about it...)
#8
Scripts and Plugins / Re: new document with size A3 ...
Last post by a.l.e - July 16, 2025, 08:20:20 PM
Indeed, typing help(scribus) in "Script > Show Console" gives you all the commands.

You could also write a Script that you run from inside of Scribus that gets the result of help(scribus) and writes it into a text file.

You can also press F1, open the Scribus help and go to the "For Developers > Scripter API" section and browse it.
Or search for "paper_a5_mm" in there.

Finally, you can go to https://impagina.org/scribus-scripter-api/page/#constants for a description of the API that has a better search function and is a bit better organized (and, sadly, really needs an update! but i'm working on it)

Almost overkill : - )
#9
Beginner Talk / Key F3 - show styles dialog - ...
Last post by hjh - July 16, 2025, 08:16:01 PM
Hi

If I hit the F3 button nothing happens. According to the 'Edit' menu the 'Styles...' dialog should show up. The place where styles are defined

If I right click on a text frame the 'content properties' box also has the F3 shortcut.

Is this a bug?

Regards
Hannes
#10
Beginner Talk / Re: How Add Inteface Themes
Last post by joseb - July 16, 2025, 05:15:30 PM
3_ DIFFERENCES BETWEEN EDITABLE AND DELAYABLE FIELDS
Another suggestion would be to unify the colour of the editable fields. In Scribus with Fusiontheme, numeric fields and textual fields (drop-down) have a different background colour. See screenshot below:


Also, in QSS it's practically impossible to match the two colour tones in those editable fields, because you start having problems with the 'arrows'.

I know it will be difficult, but I think these editable fields should have the same background colour. And following the same idea, match those background/activation/hover colours in dropdowns, lists, icons, etc.