Page 1 of 2

PitStop action lists via script

Posted: Thu Mar 07, 2019 11:01 am
by flussidicaio
Hi,
in the PitStop server propieties pannel you can select more action whit 'select many from library'.
In your opinion it is possible do it via script?
I have not succeeded yet and I'm afraid it can not be done

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 11:44 am
by jan_suhr
You have the Property editor "Select from library". Have you tried it?

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 12:32 pm
by flussidicaio
Select from library is static.
I need to change the action lists according to the variables

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 12:54 pm
by Malcolm Mackenzie

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 1:28 pm
by flussidicaio
I try to explain better
I have a folder with 50 actions inside.
the actions are in a folder outside the Workflow to be managed independently by the prepress operators that inserts or deletes the actions when they want .
Every file that passes through the flows must undergo one, two, three, N actions depending on the variables present in its dataset or according to the file's specifications (pages, format, color strategy).
I would like to have a single PitStop step to do them all without having to create N PitStop step.
With Select many from library you can load N actions in one shot but via scripting I do not know if you can do it ...

Whit Smart prefligth you can able o disable the extra action list via variable, bur the actions must be loaded in the preflight, they can not have an external path

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 2:00 pm
by r.zegwaard
You should write a script(expression) that results in a path to a actionlist
So eg: C:\path\to\actionlist.eal

Or if you want multiple, separate them with a semicolon:
C:\path\to\actionlist_1.eal;C:\path\to\actionlist_2.eal

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 2:43 pm
by flussidicaio
No,
it does not work and the array does not work either

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 2:48 pm
by Malcolm Mackenzie
You can set up a shared DataBase folder in PitStop on the Switch Server.
All actions that are needed would need to reside there.
PrePress PitStop Pro uses can also set to the same DataBase Folder.
Save a new action and is available in Switch.
If the files dataset contains the same action name it can be used as the variable.
Theory is there but needs testing and tight control!

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 2:54 pm
by flussidicaio
Yes but,
how can I select more than one?

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 3:05 pm
by Malcolm Mackenzie
multiple variables in 1 lookup or sequential PitStop elements

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 3:17 pm
by flussidicaio
I would not use sequential PitStop elements, also because the number is not predefined.
My first post asked:
Does anyone know if you can select many actions via script?

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 3:49 pm
by flussidicaio
For now the best solution is to abandon the idea of using a shared folder and load all the actions in a smart prefligth. Then enable via script all action the file requires

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 4:24 pm
by jan_suhr
flussidicaio wrote: Thu Mar 07, 2019 3:17 pm My first post asked:
Does anyone know if you can select many actions via script?
"Select many from library" is a property editor that would work.

https://www.enfocus.com/manuals/Develop ... itors.html

Re: PitStop action lists via script

Posted: Thu Mar 07, 2019 6:26 pm
by freddyp
The solution with all the action list in a preflight profile and activating the required ones using SmartPreflight variables is also the method that I immediately thought of when I read the original question.
You make it sound as if grouping action lists in a preflight profile is a problem. Can you explain why?

Re: PitStop action lists via script

Posted: Fri Mar 08, 2019 1:37 pm
by flussidicaio
it's inconvenient because every new action needs to be loaded into PitStop Server and then inserted into the preflight instead of being easily copied to a shared folder without acting on the workflow configurator....