Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a way to run the generator from the scribus ui but without tcl/tk #135

Open
aoloe opened this issue Apr 15, 2019 · 3 comments
Open
Assignees

Comments

@aoloe
Copy link

aoloe commented Apr 15, 2019

if i understand it correctly, it's now possible to run the scribus generator from the command line.

it would be nice if it would also be possible to run it from the UI, but without tcl/tk.

people would have the choice to run it with a nice UI or with a simpler one (but easy to use on every system).

the script could then use the current document (and require a document to be open) and deduce from there all the values needed:

  • cvs input from a file with the same name but the cvs extension
  • sla output with the same name with same name + "-generator" ("myfile-genrated.sla"
  • pdf output with the same name but a pdf extension

the number of dialog should be reduced to a minimum (optimally none).

this could be done by adding a separate "startup" script or simply by detecting if tcl/tk is available.

i haven't had a look at the details, but if you agree on this proposal, i can try to write a patch...

@berteh
Copy link
Owner

berteh commented Apr 16, 2019 via email

@berteh
Copy link
Owner

berteh commented Aug 23, 2019

Hello Ale,
Any time to progress on this proposal of yours ?
have a nice day.

@aoloe
Copy link
Author

aoloe commented Nov 9, 2019

hi @berteh so, no i've not forgotten your project.

but no, i haven't had a look at how to tweak the scribus-generator to work withtout tk

... BUT... under the impulsion of https://github.com/michaelu123/adfc2 i've given a try myself and came up with a first result that runs inside of scribus without any UI:

https://github.com/aoloe/scribus-script-repository/tree/master/mail-merge

it has been heavily inspired by the scribus-generator and by michael's work.

(sadly, the patch for adding "revertToSaved" has not been accepted yet, so you need to patch scribus to run it... for now...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants