Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
April 17, 2021, 11:24:25 am
News:
Problems registering, no confirmation email - see
http://wiki.scribus.net/canvas/Forums_Registration
Home
Help
Search
Login
Register
Scribus Forums
»
Scribus
»
Scripts and Plugins
»
Can PDFfile->save() be executed silently?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can PDFfile->save() be executed silently? (Read 2475 times)
dagoss
Newbie
Posts: 9
Karma: 0
Scribus User
Can PDFfile->save() be executed silently?
«
on:
March 02, 2017, 03:57:23 pm »
Is it possible to use PDFfile->save() in the UI in such a way that there is no user feedback?
In Scribus 1.5.2, it opens a small progress window that steals focus. I'd like to be able to use save() without that. Is that possible in a script?
Logged
a.l.e
Global Moderator
Hero Member
Posts: 2473
Karma: 36
Re: Can PDFfile->save() be executed silently?
«
Reply #1 on:
March 02, 2017, 05:01:23 pm »
hi dagoss
you should probably test it with 1.5.3 (or share your script so that i can easily test it with 1.5.3) since (iirc) a few GUI leftovers have been removed from the scripter in the the second half 2016.
if it's not already the case, you should also check if the dialog pops up also when you start the script from the command line and use the -g option (for no gui)
if the dialog is still there, you're welcome to write a ticket on
https://bugs.scribus.net
!
Logged
dagoss
Newbie
Posts: 9
Karma: 0
Scribus User
Re: Can PDFfile->save() be executed silently?
«
Reply #2 on:
March 03, 2017, 08:35:39 pm »
I'm not on a system where 1.5.3 can be easily installed. I'd appreciate it if you could see if 1.5.3 fixes this.
The script is actually the venerable
ScribusGenerator
. It's using save() to export the PDF. The other day I had to do a data merge with over 1,000 records, so the constantly focus-stealing window caused me some grief.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Scribus Forums
»
Scribus
»
Scripts and Plugins
»
Can PDFfile->save() be executed silently?