Scribus Forums

Scribus => Scripts and Plugins => Topic started by: kmhcreative on April 12, 2024, 07:36:45 PM

Title: ScribusGenerator with non-Tkinter GUI for Mac
Post by: kmhcreative on April 12, 2024, 07:36:45 PM
I made a GUI version of ScribusGenerator that works on a Mac. It's a mod of the Python3 branch. Though I named the script "ScribusGeneratorMac.py" I tested and it also works on Windows and Linux too, because I replaced the Tkinter GUI with a series of Scribus Plugin API dialog boxes. Only tested with Scribus 1.6.1 and 1.7.0svn. I submitted a PR but if you want it now you can grab it from my GitHub repo https://github.com/kmhcreative/ScribusGenerator (https://github.com/kmhcreative/ScribusGenerator)

I don't actually know how to code Python but I muddled my way through it, so I don't know if it's written "correctly" but it works. I got tired of using the CLI version of the script on Mac and was frustrated that I couldn't get Scribus to use Tkinter even though I have it installed and working on my Mac it can't find it to use it because I installed it through Homebrew, and even when I tried to symlink to where Scribus is looking (which is the location the Python Org installer puts it) I got version conflicts, so I gave up trying to get the Tkinter script to work and just rewrote it to use the API dialogs instead.
Title: Re: ScribusGenerator with non-Tkinter GUI for Mac
Post by: kmhcreative on April 26, 2024, 09:55:45 PM
The PR was accepted and ScribusGeneratorMac has been merged into the main project and released as v4.0.  Read the Documentation (https://berteh.github.io/ScribusGenerator/pic/mac/).

Download Here: https://berteh.github.io/ScribusGenerator/ (https://berteh.github.io/ScribusGenerator/)