Illustrator :: Save Docs As PDF Script - Include Custom Filename Suffix
Oct 16, 2013
I'm trying to add some efficiencies to larger projects buy reducing the number of steps required to export to pdf. I'm looking to add a custom file name to the string.
DESIRED
From:
20131006_KK_Brochure_v1.pdf
To:
20131006_KK_Brochure_v1_OUTLINES_PRINT.pdf
However, I'm experiencing problems with the following code that I have modified. The below code is adding "_OUTLINES_PRINT" as a prefix, rather than a suffix.
function getTargetFile(docName, ext, destFolder) {
var newName = "_OUTLINES_PRINT";
if (docName.indexOf('.') < 0) {
newName = docName + ext;
An application that will let me choose a group of Drawing files (.idw) and perform "Save Copy As" to a PDF format on them. The Filename of each Drawing should be extracted from a custom Parameter I embeded in the IDW file.
I know I can use the Task Manager with a virtual PDF Printer to create these files, but then the PDF Filename will equal the IDW Filename, and I want it to be derived from the custom parameter I prepared inside the drawings.
I use LR3 extensively for tethered capture and think that Adobe did a great job for the first release of this feature but one critical option is missing.
I use tethered capture with the 'shot name' option selected which is great becasue it puts the different shots into their own folder in the catalog but it would be even more useful if there was a way to have the shot name included in the filename that is saved. I have played around with the custom filename options, which are extensive, but the shot name option isnt available. Is there a way to do this?
Is it me or is 'save for web' totally broken in Illustrator CS6, when saving a file with a space in the filename? First it says the file already exists (whether or not this is the case) and when I click 'replace' it just doesn't do anything. Tried with different files, even after relaunching Illustrator.
Is there a way to save a custom artboard setup with a custom document profile in illustrator cs5? I do technical illustrations and our page size is odd (7.19 x 8.96. It the size that our Framemaker layout is set to.). I have a custom document profile that I use, but I use the grids all the time so that my callouts are spaced out evenly around the art. I would like to have a way to set the artboard up so that the grid will align to the center of the artboard everytime I turn them on. Right now they always start from the top left and when I center art in the center of the page, the grid spacing isn't the same on each side of the art. I just want to be able to open my document profile, turn on my grids, have them start from the center, and I can get down to business. As it is now I have to go into my artboard settings and manually adjust the grid to the center. Small annoyance, but it still annoys me. I have tried to save it a few different ways, but nothing has worked. Maybe there just isn't a way.
How do I get rid of the silver header on my docs? I'm opening them as tabs but it remains?! Do I go full screen? I can't get my workspace to look like the tutorial videos?...
how to save a custom workspace in previous versions does not exist in Illustrator CC. Has this option been reconfigured or simply forgotten? I'm using a Trial Version.
if i want to make a custom hatch which include with letters and some different types of lines. what is the process to make that type of custom hatches.
We have a few iMacs here all running 10.8.4 - we have PhotoShop CS 5.5 and all the artwork etc is saved on a shared server ( Windows 2008 r2) and we are forever getting these problems......
Only in photoshop we get the following error message......
"Could not save [filename] because the file is locked or you do not have the necessary access privilege. Use the 'Get info' command in the finder to unlock the file or change permissions on the file or enclosing folders"
For many years I have been edit photo montages in Premiere Pro. When I would find a photo that needs retouching so I would open Photoshop, retouch the pic, save it, and the new image would magically appear on the PPro timeline. But in my CS6 suite, I get the error message "Could not save "filename" because file is locked, you do not have necessary access permissions, or another program is using the file".
And this only happens when PPro is still open, regardless of where the CTI is on the timeline, or which pic on the timeline is selected. I never had this problem with any other versions of PPro and Photoshop. I don't want to shut down PPro everytime I need to retouch a pic.
I'd like to change the filename of a part before it's first save.The code would look somewhat like below.
Private Sub m_appEvents_OnNewDocument( _ByVal DocumentObject As Inventor._Document, _ByVal BeforeOrAfter As Inventor.EventTimingEnum, _ByVal Context As Inventor.NameValueMap, _ByRef HandlingCode As Inventor.HandlingCodeEnum) _Handles m_appEvents.OnNewDocumentDim oDoc As Inventor.DocumentDim Name1 As String = "New Filename...."oDoc = DocumentObjectoDoc = oDocoDoc.PropertySets("Design Tracking Properties").Item("Part Number").Value = Name1oDoc.DisplayName = Name1oDoc.FullFileName = Name1.
The code partly works when opening a template but doesn;t work when create a an in place component or frame generated part? What do I need to modify to catch and change the filename before it's saved?
in Autocad 2012 whenever I want to make a PDF from a DWG I use the Autocad builtin DWG to PDF, but it wont suggest the filename anymore. When I use pdfcreator is will suggest the filename, but i dont have the correct paper sizes,
I am used to copying filenames into the save as window ... it is more accurate and mroe efficient than typing them. When I upgraded to CS1 and CS3, I can not do this, either on Snow Leopard or on Win7. How do I regain the ability to do this?
I have recently purchased a new desktop under WIN 7 as well as Adobe Creative Suite CS6.My first internal hard disk is 2 TB, the second one installed is from my old PC, 250 GB.
I am getting this error when trying to save a file over an existing file using the “Save” command.The message is wrong, because the filename IS valid. This error is persistent.This error does not occur when doing the same action on my second internal hard disk.This error happens on files larger than about 1MB in weight.
What happens is that the original file over which I try to do the ”Save” command gets corrupted and lost.If I don't use the “Save as” command to save my work under a different name, my work is lost.The same problem occurs with both PS CS6 versions, 64 Bit and 32 Bit.
I am using Paintshop Pro X2. I've created a script that goes something like this.
1. Save original size as jpg in folder 1. 2. Resize 50% 3. Save as jpg in folder 2. 4. Resize 100x77 5. Save as jpg in folder 3. 6. Close file.
Everything works great except for one thing. During the save as operations the script remembers the original file names from when I record the script. Is it possible to replace that old static file name in the script with the file name of the current image?
Whenever I want to save my DWG to PDF I use the builtin pc3 from Autodesk. Normally when I use it, the filename of the dwg is suggested as name for the pdf. But now this is empty and when you have to save 20-30 pdfs a day this is a pain to type over the names everytime. When I use PDFcreator however, it does suggest the name correct, but then I dont have the correct paper sizes.
and i would want the outcome to be: variable.dwg, rather than filename.dwg. I have tried numerous different ways of doing this with command prompt and cant seem to get anything to stick. Everything that works just creates a file named "filename.dwg", which is not what i want to do.
I am using Inventor 2013. I want to save an IPT as IGES and include the 3-D sketch. That is a simple operation which was performed correctly. Whe I open the IGES file I want to be able to EDIT the 3-D sketch or our supplier would want the ability to do that.
The 3-D sketch shows up but there is no option to EDIT.
Dell Precision T3500 Windows 7 Pro Quad Core Intel Xeon 6 Gb SDRam NVIDIA Quadro Product Design Suite 2014 Premium
When using save copy as to make an identical part with a different number, the file name in the top and the browser doesn't update to the new filenumber. only in the bottom file tabs is the name correct. if I go to file> save as I can also see the new filename. This is a hassle when doing this to multiple files in an assembly, as it makes it hard to keep track of which parts have been given a new name. It seems the filename input in the browser is only written once, and that is when the first file was saved for the first time.
I've looked around for this but haven't found much. I have a server with thousands of print proof sheets, and since the beginning, long before me, the files were saved with verbal descriptive names. It would be a lot better if they were saved according to the PO number. All the proof sheets have a po number listed in pretty much the same place on the sheet... is there a way to copy that PO number from the field within the pdf, and save the file to a new folder using that number as the filename using a script?
I have a document with several artboards. In each artboard is a different linked image. Is there a way to add the linked filename to the bottom of each artboard?
I've a basic RGB illustrator file - no embedded or linked images, just flat colors and gradients.I'm working in sRGB space and this is reported correctly in the info field at the lower left of the editing window.Some issues:
1. When I look at this file in Bridge it's listed as 'untagged'. However if I re-open it in illustrator it's reported to be sRGB as expected.
2. Despite requesting 'Include All Profiles' on the output page of the PDF save dialog I cannot get a PDF exported that includes the sRGB profile.
When I use a transparent gradient on top of a darker colored background, I can see white as part of the transition, even though I have it set to fade to no fill.
And, no I don't want to use the multiply filter to solve this issue. Needs to be set to "normal" because the object will be used for web. This feature works correctly in Photoshop.