Recent posts

#91
Scripts and Plugins / Re: Is there a way to delete a...
Last post by a.l.e - November 14, 2024, 09:59:04 PM
I started to work on it...

... With a bit of luck, Saturday I could have a patch ready...
#92
General Discussion / Re: Seeking Advice on Finding ...
Last post by MrB - November 14, 2024, 08:55:33 PM
#93
General Discussion / Re: Seeking Advice on Finding ...
Last post by a.l.e - November 14, 2024, 09:40:57 AM
I guess you've found one of the communities.
You're here in the "official" one.

On top of that, here a few ressources I know of:


Maybe somebody has more links...
#94
General Discussion / Seeking Advice on Finding Scri...
Last post by abi - November 13, 2024, 05:20:45 AM
Hello Scribus community,

We have recently completed a few projects using Scribus and developed a custom plugin with Python. We're passionate about expanding our expertise and connecting with more clients who use Scribus. However, we're finding it a bit challenging to identify where Scribus-related projects are typically posted or sourced.

If anyone has experience or insights on where to find clients or projects involving Scribus (specific sites, freelance platforms, or communities), we'd greatly appreciate your advice. We're also interested in hearing how others have marketed their Scribus skills and connected with clients looking for custom solutions or plugin development.

Thank you in advance for any guidance you can offer!

Best regards,
Abi
#95
Scripts and Plugins / Re: Textbox Frame Size when cr...
Last post by a.l.e - November 12, 2024, 08:19:58 PM
if width and height are defined, you're using the same width and height for creating the frame and then for resizing it.

in that case it won't change its size, no.

i just tested the sizeObject() function on my local Scribus and it did work as expected.

if reading this does not help, you might need to define a bit better what "it does not work" means...
#96
Scripts and Plugins / Re: Textbox Frame Size when cr...
Last post by AdmFubar - November 12, 2024, 07:46:21 PM
at a quick glance at this script, I dont see what the new size would be, or how the size is going to be changed. Yes there the resize section, but are the width and height, getting the updated values?
#97
Scripts and Plugins / Re: Custom keyboard shortcut f...
Last post by a.l.e - November 12, 2024, 07:47:02 AM
No, it's not possible...

And I am not sure that's a good idea, either:

Non default shortcuts tend do be pretty bad, complex and not match the name of the script...

Personally, I've integrated my scripts in the navigation and can now launch them with the action search...

https://bugs.scribus.net/view.php?id=15579

I have plans to improve the patch. But not before it gets accepted or at least reviewed.

If you compile your Scribus, you should be able to use it...
Otherwise you will need to wait...
Sorry.
#98
Scripts and Plugins / Custom keyboard shortcut for r...
Last post by shab.t786 - November 12, 2024, 06:01:25 AM
Hello
Is it possible to add a custome keyboard shortcut to run a custom script on scribus ?
#99
Scripts and Plugins / Textbox Frame Size when creati...
Last post by shab.t786 - November 12, 2024, 05:53:48 AM
sizeObject(...)
sizeObject(width, height [, "name"])
Resizes the object "name" to the given width and height. If "name" is not given the currently selected item is used.

I am trying to use this function to resize a text frame created. But it does not work
  text_frame = scribus.createText(x_pos, y_pos, width, height)
           
            # Insert only the cleaned text into the Scribus text box
            scribus.insertText(clean_text, -1, text_frame)

            # Optional: Set font styling
            scribus.setFontSize(10, text_frame)
            scribus.setFont("Baloo 2 Medium", text_frame)

            # Set columns for the text frame
            scribus.setColumns(2, text_frame)  # Adjust the number of columns as needed

            # Resize the object (if needed)
            scribus.sizeObject(width, height, text_frame)

            # Redraw all elements
            scribus.redrawAll()
#100
General Discussion / Re: What's the best way to dea...
Last post by apastuszak - November 11, 2024, 09:43:44 PM
Can you make tables using a script? I'd like to try that, if possible.

And, you're not the only ones with weak table functionality. I have a copy of Affinity Publisher and it's not much better.