PitStop action lists via script

flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

PitStop action lists via script

Post 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
jan_suhr
Advanced member
Posts: 586
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: PitStop action lists via script

Post by jan_suhr »

You have the Property editor "Select from library". Have you tried it?
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post by flussidicaio »

Select from library is static.
I need to change the action lists according to the variables
Malcolm Mackenzie
Member
Posts: 121
Joined: Wed Mar 22, 2017 5:05 pm
Location: London, UK
Contact:

Re: PitStop action lists via script

Post by Malcolm Mackenzie »

flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post 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
r.zegwaard
Member
Posts: 93
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Re: PitStop action lists via script

Post 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
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post by flussidicaio »

No,
it does not work and the array does not work either
Malcolm Mackenzie
Member
Posts: 121
Joined: Wed Mar 22, 2017 5:05 pm
Location: London, UK
Contact:

Re: PitStop action lists via script

Post 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!
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post by flussidicaio »

Yes but,
how can I select more than one?
Malcolm Mackenzie
Member
Posts: 121
Joined: Wed Mar 22, 2017 5:05 pm
Location: London, UK
Contact:

Re: PitStop action lists via script

Post by Malcolm Mackenzie »

multiple variables in 1 lookup or sequential PitStop elements
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post 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?
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post 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
jan_suhr
Advanced member
Posts: 586
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: PitStop action lists via script

Post 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
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
freddyp
Advanced member
Posts: 1008
Joined: Thu Feb 09, 2012 3:53 pm

Re: PitStop action lists via script

Post 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?
flussidicaio
Member
Posts: 21
Joined: Thu May 03, 2018 6:07 pm

Re: PitStop action lists via script

Post 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....
Post Reply