Hello
I'm trying to limit the execution of an Action List to the second to last page of a PDF in a very simple flow.
I have an Enfocus Pitstop Server configurator where the Action List is a specified file, and the Variable Set is a 'single-line text with variables defined'. In that definition I am using Switch Calculation to pull Stats.NumberOfPages and -1:
[Switch.Calculation:Expression="[Stats.NumberOfPages]-1"]
Although the values returned are correct (for instance, an eight page file returns '7'), I am getting the following error:
Variable Set '7' is not available
Dynamic property 'VariableSet' has invalid value '7'
The Action List is a simple 'Add Object'.
Any feedback is greatly appreciated.
Thank you
Targeting 2nd to last page
Re: Targeting 2nd to last page
How did you add your variable to the action list?
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
Re: Targeting 2nd to last page
The first step in the Action List is 'Select pages' using variable names with the following attributes:
Select: page range: [Number of pages]
Select: page range: [Number of pages]
Re: Targeting 2nd to last page
Sorry for not being clear 
I mean, do you add it like this?
https://forum.enfocus.com/viewtopic.php ... +set#p6054

I mean, do you add it like this?
https://forum.enfocus.com/viewtopic.php ... +set#p6054
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
Re: Targeting 2nd to last page
You have been using the calculation as the name of the variable set. That is not going to work. You have to select an existing variable set, or create one, both through "Select variable set", edit or create a variable set, add a variable, define the value of the variable with your calculation, and use that variable in a preflight profile.
That is the hard way.
This is the easy way: The screenshot is bigger than in the Action List editor UI so you can read it better
That is the hard way.
This is the easy way: The screenshot is bigger than in the Action List editor UI so you can read it better

Re: Targeting 2nd to last page
We're running Pitstop Pro 13, but don't seem to have the option to assign page range using the 'R_' id.
Is that specific to a newer version, or are we missing something?
Thank you for your help.
Is that specific to a newer version, or are we missing something?
Thank you for your help.
Re: Targeting 2nd to last page
This was added in PitStop 13 update 1.