[scribus] Cancel Executing Script

ZASKE Martin zm at revue-gugu.org
Tue Mar 23 10:07:00 UTC 2021


I would like to submit my +1

We regularly use the Scribus Generator for mailings and there is no
coding error, but depending on the database and the complexity of a
document, the script can run typically up to 20 minutes.

Sometimes we have reasons (like a power cut (Africa), or a database
error) to interrupt such a script. Since it uses much of the processor
capacity, and keeps jumping between windows, I never manage to cut it.
So I have to look at my frantic computer, knowing that the entire run
and all results will be faulty.

I could add some break dialog into the Scribus Generator, but that would
mean that I have to confirm many times, when all is well.

So a nice, solid, red emergency-button for all scripts would be a
valuable and welcome feature please. If possible.


Or - if this feature is not important to most users - could somebody
give us pointers how Matt and Martin could add such a feature in all
their concerned scripts, please?


thank you and greetings,

Martin






On 11.03.2021 21:08, Matt Miller wrote:
> Sometimes I do "Script | Execute Script ..." to run a custom script and then due to my coding error the script hangs or runs too long.  In these cases I'd like to cancel the script without exiting Scribus.  However, it seems I need to terminate the entire app.  Is it possible to just cancel the running script?  I'm thinking of a "Script | Terminate Script" option that appears when a script is running, or something like that.  Is that currently possible, or would an enhancement request for something like this make sense?
> 
> 
> --
> 
>   Matt Miller
>   mailto:matt.miller at fastmail.com
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.scribus.net/pipermail/scribus/attachments/20210311/e748d394/attachment.htm>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
> 


-- 
ZASKE Martin
responsable GʊGʊ
BP 50 - Bassila - Bénin
tel GʊGʊ 66.66.11.11
tel pers 97.44.62.95



More information about the scribus mailing list