p01 Kansas City Southern
Skip to main content

Recent Topics

xx
Pitstop 2018
by Tracy
Today at 06:03:12 PM

xx
Apple releases new Mac mini
by wonderings
Today at 02:46:02 PM

xx
Remember Client Password
by seratne
November 12, 2018, 05:11:05 PM

angry
mac rage
by wonderings
November 12, 2018, 04:18:06 PM

xx
UV effect for pdf
by Tracy
November 05, 2018, 10:47:27 AM

xx
Xmpie or Fusion Pro
by pspdfppdfxhd
November 02, 2018, 05:15:03 PM

xx
Stapling on the Fiery CWS?
by Joe
November 02, 2018, 02:36:22 PM

xx
Acrobat excessive RAM usage
by Joe
November 01, 2018, 06:02:04 PM

Topic: Add filename without extension (Read 884 times) previous topic - next topic

Add filename without extension

So I have tons of pdfs that are named by the item code, but it's not on the pdf itself. I know I can do add a text action and use the  %Current Document Name% as a variable, but I don't want to add the ".pdf". If my pdf is named CODE_XYZ.pdf, I want to have CODE_XYZ as the code added to the sign. Anyway to do with pitstop?

Re: Add filename without extension

Reply #1
The more I think about it - I guess it's simple enough to select all of the pdf's from the finder right-click and just rename all to remove the .pdf from the filename, the run the action. Then rename all to add the .pdf back.

 

Re: Add filename without extension

Reply #2
Was going to suggest that, unless you've got to do it repeatedly all day, every day. I bet that can be tied into an Action through Automater to just Drag & Drop the files, or an actionscript.
A little diddie ‘bout black 'n cyan...two reflective colors doin’ the best they can.

Re: Add filename without extension

Reply #3
We really need the ability to add regular expressions or otherwise alter the default variables (javascript or something), add new “user defined” variables or have a new variable for separate filename and separate extension, or a search/replace text option (which is hard to do with PDF text) etc.

I have a half-arsed solution that works in an action list to remove “.pdf”  – as long as the filename does not actually contain the characters “.” or “p” or “d” or “f” elsewhere, which is not that useful in practice (“dog.pdf” would become “og” etc)!

Re: Add filename without extension

Reply #4
So I have tons of pdfs that are named by the item code, but it's not on the pdf itself. I know I can do add a text action and use the  %Current Document Name% as a variable, but I don't want to add the ".pdf". If my pdf is named CODE_XYZ.pdf, I want to have CODE_XYZ as the code added to the sign. Anyway to do with pitstop?

Ok... So you can add this as action list or global change. Not sure if you get any extra options in global change. I'm away from the office.

Can you add the text in the top right hand corner so .pdf is always in the same place every time and then mask it with a small white rectangular in the next action ?

Re: Add filename without extension

Reply #5
Or ask ABC to change %Current Document Name% as just the name minus the extension and then add an %Current Document NameExtension% as the full name with the extension. Win Win for everyone.
Mac OS 10.12 Sierra | Prinergy 7.5 | Adobe Creative Cloud 2017 | Two Luscher XPose 160 CTP units

Prepress: One who does precision guess work based on unreliable data provided by those of questionable knowledge.