cancel
Showing results for 
Search instead for 
Did you mean: 
3 Replies
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Insert Pages

MAX variables are defined as either type text(string) or a type number variable -- see below. A variable's type can't be modified. One could use an addition MAX number variable (e.g., InsertNumber) to define the number of inserts in the Insert node.

p1.png

0 Kudos
jc22
New Member
New Member

Re: Insert Pages

Thanks. Do you know if there is some sort of Interger() function to convert to a number? If not, is this something that you could do with MAX variables (I know nothing about how to use MAX)?

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Insert Pages

I believe the issue is the mixing of a string operation $FFwfJob.jobName.rtrim(_)$ with a mathematical operation of subtracting 1. I tried various combinations of parenthesis to separate the operations -- to no avail.

0 Kudos
jc22
New Member
New Member

Insert Pages

I want to be able to insert pages using a part of the filename to dermine the number of inserts. Something like

Job Name "50_Annual Report.pdf"

Number of Inserts "$FFwfJob.jobName.rtrim(_)$ - 1"

to get 49 additional pages inserted but it does not work. What I found that does work is

Job Name "50.pdf"

Number of Inserts "$FFwfJob.jobName$ - 1"

and I do get 49 additional Inserts.

Anyone know why the rtrim doesn't work? I would like to retain the Name through the process. Thanks

0 Kudos