Scribusoid

Recent Posts

Pages: 1 [2] 3 4 5 6 7 8 9 10
11
Scripts and Plugins / Quit Scribus via. Scripter API
« Last post by digirew on September 24, 2020, 08:12:16 pm »
I would like to run a script via. Scripter API, and then once its done, to also quit Scribus.

Does anyone know if this is possible?
12
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by digirew on September 24, 2020, 05:49:12 pm »
dragonfly,

we use Windows and Mac.
13
General Discussion / Opening Scribus .SLA files. Mac vs. Windows.
« Last post by digirew on September 24, 2020, 05:40:10 pm »
Using Scribus 1.5.6

On a mac:
- If I double click a .sla file, it opens the scribus document.
- If I try to open the same doc again, it tells me its already open.
- If I close down the .sla doc (not exit scribus), and then open another .sla doc, it opens the new doc in the same scribus.

All good so far and performs as expected.


On a Windows machine:
- If I double click a .sla file, it opens the scribus document.
- If I try to open the same doc again, it opens a new instance of scribus.
- If I close down the .sla doc (not exit scribus), and then open another .sla doc, it opens a new instance of Scribus. So now I have one scribus open with no doc, and another scribus open with the new doc I just opened.

The last two items on the windows side mentioned seem like unusual behaviour, is there a preference someplace that, at the very least will open the .sla doc in the already opened version of scribus?


14
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by dragonfly on September 24, 2020, 12:42:23 pm »
@digirew

What OS platforms are you using?

Windows/Linux/Mac
15
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by a.l.e on September 24, 2020, 08:08:48 am »
from a scribus point of view, that looks to me an over engineered process.

i don't know much about your workflow, but i somehow have the feeling, that having a way to start scripts by pressing a button would be a better solution.
at the end, the user might need to press not one but two buttons, one in scribus and one in a project management application, but the reduced level of magic might also reduce the fear of making errors.

this having been said, triggering other tasks while or after producing a pdf is something that should already possible with the current feature set in the development version of scribus (and probably also in the stable version).

personally, i still would love having ways to send messages to open instances of scribus, but i really don't see how this can happen in a multi plaftorm way...
if you have ideas...

(btw, the fact that you technically can have multiple instances of scribus open at the same time -- a good feature -- even with the same active open document -- less good feature -- will not help in this endeavour...)
16
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by digirew on September 23, 2020, 06:55:09 pm »
A.l.e,

Having the ability to run additional scripts while a document is already opened, we would open the door to a lot of automation and completely offload repetitive tasks that need to be done by users.

A few basic examples would be to issue a save/pdf command from our application when a user is done with a document. Our application can then handle all the remaining tasks a user needs to do with each file. Or saving a revision history of documents being working on into our applications database.
17
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by a.l.e on September 23, 2020, 10:17:12 am »
digireview: which kind of possibilities do you have in mind?
18
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by dragonfly on September 22, 2020, 10:57:52 pm »
I do this quite often on a number of GUI's.  And I'm looking at Scribus also for my workflow.
But unfortunately the solution I propose depends on your OS.

It is to use automation scripts which autodrive the Scribus GUI and allows integration with a toolchain.

That is instead of (or in addition to) using Scripter to navigate the Scribus API you run macros which navigate existing hotkeys and menus in "autopilot mode".  It isn't as daft as it sounds.

I am on Ubuntu 20.04.
19
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by digirew on September 22, 2020, 10:31:19 pm »
The command line tool appears to be a very powerful feature that allows you to do some pretty creative things using Scribus. Being able to run scripts via. command line on the active document would definitely take it to a new level of possibilities.
20
Scripts and Plugins / Re: command line to run scribus scripts.
« Last post by a.l.e on September 22, 2020, 10:26:41 pm »
of course it's not the same as running a new script... but i wonder how far one could go with a polling system.

for a real solution, something like d-bus will be necessary.
Pages: 1 [2] 3 4 5 6 7 8 9 10