Hi!
I’m building a Switch flow where I need to add a slug line to an imposed PDF. My plan is to insert the text using a PitStop Action within the flow.
The slug line should look like this:
[Job.NameProper] Page: [CurrentPageNumber] of [Stats.NumberOfPages] Date: [Switch.Date:Format="yyyy-MM-dd",TimeZone="System"] - [Switch.Date:Format="hh:mm:ss",TimeZone="System"]
My question is: how can I reference the CurrentPageNumber as a variable? I know that in a PitStop Action I can use %Page Number%, but what would be the equivalent when working with a Switch PitStop variable set?
Add slug line (Current page no) [SOLVED]
- magnussandstrom
- Advanced member
- Posts: 517
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Add slug line (Current page no) [SOLVED]
Last edited by magnussandstrom on Wed Sep 10, 2025 9:13 am, edited 2 times in total.
Re: Add slug line (Current page no)
Can't you add that in the imposition?
- magnussandstrom
- Advanced member
- Posts: 517
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Add slug line (Current page no)
In this case no. The files comes from an outside source.
Re: Add slug line (Current page no)
The solution is much simpler than that: just add %Page Number% in your string in the place where you have [CurrentPageNumber].
- magnussandstrom
- Advanced member
- Posts: 517
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Add slug line (Current page no)
Thanks Freddy! I didn't know that standard PitStop variables would work that way!