Remove file name extension in Pitstop Pro.

Post Reply
Tim Murphy
Newbie
Posts: 10
Joined: Wed Apr 28, 2021 11:50 pm

Remove file name extension in Pitstop Pro.

Post by Tim Murphy »

Hi all.

I have a series of banners to produce where the customer would like the name of the file printed on the left & right sides of the banner.
I am currently using %Current Document Name% which works fine but I would like the extension removed.
So "My Customer Name.pdf" becomes "My Customer Name"
Is there another variable I can use to get me this result?

I am currently removing the .pdf extension in windows file explorer, which works but is tedious.
There may be better options that I am not aware of.

Any ideas?

Thanks :)
User avatar
JimmyHartington
Advanced member
Posts: 293
Joined: Tue Mar 22, 2011 7:38 am

Re: Remove file name extension in Pitstop Pro.

Post by JimmyHartington »

You could use the "Find and Replace text" action.
So like in the screenshot, place the "Select last added objects" after you have added the filename.
Then Replace ".pdf"' with "".

Image
Tim Murphy
Newbie
Posts: 10
Joined: Wed Apr 28, 2021 11:50 pm

Re: Remove file name extension in Pitstop Pro.

Post by Tim Murphy »

How easy was that!!
Works perfectly.
Thanks Jimmy, for taking the time to post.

Now it's back to work!

Cheers
Tim
User avatar
JimmyHartington
Advanced member
Posts: 293
Joined: Tue Mar 22, 2011 7:38 am

Re: Remove file name extension in Pitstop Pro.

Post by JimmyHartington »

You're welcome.
It is nice that sometimes there is an easy solution to a problem.
Post Reply