Script to save out PDFs in High Res and Low Res and name them accordingly?

Hello
I'm on Indesign version 9.1. I previously had a script for this and have since had my mac wiped and re-installed (big company rules). So, here I am asking if someone can help me again..
Basically I have to create artwork and nearly every time I have to export it as a 150dpi LOW RES version and then a 300dpi HIGH RES version with time marks, bleed, etc.  I then end the file name with either LR.pdf or HR.pdf. I have presets for these and obviously, it's not the worst thing in the world having to scroll down menus, etc but this is maybe up to 50 times a day. I used to be able to select an icon on my desktop (or wherever) then I used Indesign scripting and automator on the mac to press a kay command and it'd open the document, then save it out as the two designated PDFs, then close it.
Can anyone help me on this?
I can probably search on here for the previous thread asked and the script given to me...

Adding somthing like below to Script 2 pdf outputs?
var myLayer = app.documents.item(0).layers.item("Background");
myLayer.visible = true

Similar Messages

  • Advanced "Save as PDF" script that saves 2 PDF presets with 2 different Names

    HI Everyone,
    I am looking to improve a save as pdf workflow and was hoping to get some direction. Here is the background...
    I routinely have to save numerous files as 2 separate PDFs with different settings (a high res printable version and a low res email version). Each file has to be renamed as follows...
    Original filename = MikesPDF.ai
    High Res PDF Filename = MikesPDF_HR.pdf
    Low Res PDF Filename = MikesPDF_LR.pdf
    I was able to alter the default "SaveAsPDF" script to save the files to my desired settings and to add the suffix to the name. So with these scripts here is how the workflow operates...
    1. Open all files I wish to save as pdfs
    2. Select script to save files as high res pdfs
    3. Illustrator asks me to choose a destination.
    4. Illustrator adds the appropriate suffix and saves each file as a pdf to my desired setting. ("Save As" not "Save a Copy").
    5. Now all of the open windows are the new pdfs, not the original ai files.
    6. Now I have to close each window. For some reason Illustrator asks me if I want to save each document when I tell it to close window, even though the file was just saved. I tell it to not save and everything seems to be fine.
    7. Reopen all the files I just saved as high res pdfs.
    8. Repeat the entire process except I run the script specifically designed for the low res pdfs.
    What I would like to do is to combine these two processes so that there will be one script that saves both pdfs. From what I understand, the script can't support "Save A Copy" so the workflow would go as follows...
    1. Open all files I wish to save as pdfs
    2. Select single script to save files as both high res and low res pdfs
    3. Illustrator asks me to choose a destination.
    4. Illustrator saves each file as a High Res PDF and adds the the "_HR" suffix.
    5. Illustrator then re-saves the open windows as a Low Res PDF and replaces the "_HR" suffix with "_LR".
    Here is the code for the High Res script, The Low Res script is pretty much the same except for a different preset name and different suffix. Any pointer that anyone could give me would be most appreciated. I am pretty much a noob to this stuff so please keep that in mind.
    Thanks!
    Mike
    ---------------------------CODE----------------------------
    /** Saves every document open in Illustrator
      as a PDF file in a user specified folder.
    // Main Code [Execution of script begins here]
    try {
      // uncomment to suppress Illustrator warning dialogs
      // app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
      if (app.documents.length > 0 ) {
      // Get the folder to save the files into
      var destFolder = null;
      destFolder = Folder.selectDialog( 'Select folder for PDF files.', '~' );
      if (destFolder != null) {
      var options, i, sourceDoc, targetFile;
      // Get the PDF options to be used
      options = this.getOptions();
      // You can tune these by changing the code in the getOptions() function.
      for ( i = 0; i < app.documents.length; i++ ) {
      sourceDoc = app.documents[i]; // returns the document object
      // Get the file to save the document as pdf into
      targetFile = this.getTargetFile(sourceDoc.name, '.pdf', destFolder);
      // Save as pdf
      sourceDoc.saveAs( targetFile, options );
      alert( 'Documents saved as PDF' );
      else{
      throw new Error('There are no document open!');
    catch(e) {
      alert( e.message, "Script Alert", true);
    /** Returns the options to be used for the generated files. --------------------CHANGE PDF PRESET BELOW, var NamePreset = ----------------
      @return PDFSaveOptions object
    function getOptions()
    {var NamePreset = 'Proof High Res PDF';
      // Create the required options object
      var options = new PDFSaveOptions();
         options.pDFPreset="High Res PDF";
      // See PDFSaveOptions in the JavaScript Reference for available options
      // Set the options you want below:
      // For example, uncomment to set the compatibility of the generated pdf to Acrobat 7 (PDF 1.6)
      // options.compatibility = PDFCompatibility.ACROBAT7;
      // For example, uncomment to view the pdfs in Acrobat after conversion
      // options.viewAfterSaving = true;
      return options;
    /** Returns the file to save or export the document into.----------------CHANGE FILE SUFFIX ON LINE BELOW, var newName = ------------------
      @param docName the name of the document
      @param ext the extension the file extension to be applied
      @param destFolder the output folder
      @return File object
    function getTargetFile(docName, ext, destFolder) {
      var newName = "_HR";
      // if name has no dot (and hence no extension),
      // just append the extension
      if (docName.indexOf('.') < 0) {
      newName = docName + ext;
      } else {
      var dot = docName.lastIndexOf('.');
      newName = docName.substring(0, dot)+newName;
      newName += ext;
      // Create the file object to save to
      var myFile = new File( destFolder + '/' + newName );
      // Preflight access rights
      if (myFile.open("w")) {
      myFile.close();
      else {
      throw new Error('Access is denied');
      return myFile;

    Thank you for the reply Bob!
    Am I correct in assuming that these few lines of code replace all of the lines that I posted above?
    Also, When populating the PDFSaveOptions lines, would the end result look like this? FYI, LowRes preset name = "Proof Low Res PDF - CMYK". HighRes preset name = "Proof High Res PDF"
    #target illustrator
    #targetengine "main"
    for (x=0;x<app.documents.length;x++)
         var workingDoc = app.documents[x];
         var workingDocFile = workingDoc.fullName;
    // populate these with your settings
         var lowResOpts = new PDFSaveOptions(Proof Low Res PDF - CMYK);
         var highResOpts = new PDFSaveOptions(Proof High Res PDF);
         var lowResFile = new File(workingDocFile.toString().replace(".ai","_LR.pdf"));
         workingDoc.saveAs(lowResFile,lowResOpts);
         var highResFile = new File(workingDocFile.toString().replace(".ai","_HR.pdf"));
         workingDoc.saveAs(highResFile,highResOpts);
         workingDoc.close(SaveOptions.DONOTSAVECHANGES);

  • My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at low resolution. The camera on my phone works fine, but any web related photo content is now pixelated and low res, what's the deal?

    My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at a low resolution. I have IOS 7.0.4. My phone camera works fine, but any web based photo content from Safari, Yahoo images, Google images, and Flickr all come in pixelated and low res. What's the deal?

    It happened to me but later I figured out that cellular signal was not that great and so the Internet was very slow. It took me about 2 minutes to get the full resolution picuture on either of the app you've described. Try to get faster internet either by wifi or good signal and then check.

  • I burned photos to a cd and it included all the faces and low res duplicates

    I burned photos to a cd from iphoto and it included the ind. faces and low res. images that iphoto created - I only want the originals.

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Is it possible to create a script to produce a high res and low res pdf and jpeg from Indesign at the same time

    Hi, I'm just wondering if there is a way to automate a long process I have to do to create assets for my job.
    I have a single page InDesign 6 file which I have to output three ways:
    A low res pdf without bleed or trims
    A high res pdf with bleed and trims
    A low res jpeg downsized to 2% of original size.
    If anyone knows if this is possible I'd love to hear from you.
    Thanks in advance

    Automation requires creating your own IDML script for output. Scroll down on this page to the section on Scripting resources. The text is a bit confusing. It says InDesign CS5 Scripting resources, but then the paragraph for that section says the PDF files are for CS6. I haven't read through these, I just found them by searching for "indesign automation". It does say in part that is can be used for preparing files for printing, so once you figure it out, it should be a single click option to do all three steps.
    You can do them now with the menus you have, assuming you also have Acrobat Pro installed. With any document open, choose File > Adobe PDF Presets, and choose either from the prebuilt defaults, or create your own in the Distiller. However, I don't see a way in the Distiller settings to choose whether or not to include bleed and marks, so I'm not really sure how you'd have them on for one and not the other. As far as JPEG output, that can be chosen under Export. You get a choice to set a resolution and JPEG quality level, but not a size, so the output will be the dimensions of the document.

  • Color differences between high and low res images in Illustrator pdfs

    OK, I'm creating a tradeshow graphic for a client. I designed the whole thing in Illlustrator CS6. But for the proof, I used a low res image of the sky (before we purchased it). Everyone was happy. It was a low-res RGB image imported into Illustrator, then the whole thing was exported as a pdf.
    Once they approved it, I purchased the high res image. RGB. Same image... just high res. I popped it into the Illustrator file and exported it in exactly the same way. But now, the image looks much more purple. The low res pdf showed it as much brighter, lighter blue.
    My client prefers the lighter blue. When I look at the two images in Photoshop, they look the same (in terms of color).
    So... should I be worred? Why is there such a color difference? Thanks!
    I'm attaching jpgs of the pdfs just to show you the color differences.
    Julie

    Print Graphics: File >> Document Color Mode CMYK.
    Digital Graphics:  File >> Document Color Mode RGB.
    The PDF presets in Illusttrator will generate CMYK PDFs or PDFs in the colorpsace Illustrator is set to, (except for smallest file size which makes RGB PDFs).
    Firsst make sure you are in the correct colorspace in Illustrator before proceeding, adn make your imaeg CMYK if you are for example doing a banner for tradeshow. Backlit graphics are the only print graphics exception and should be RGB because Lambda printers actaully are native RGB.
    Open your lo and hi res in Phoothsop and compare the color values by watching the info aplette in Photoshop.
    When generating PDFs keep in minds that and RGB PDFs have different color than a CMYK PDF.

  • How come my PPT to PDF files look so awful (low res)?

    I have a powerpoint file that I need to save as a PDF. Originally, I had a lot of PNGs in the file because I need a transparent background, but each time I save the file as a PDF it looks horribly low-res (blurry, jagged edges-everything images should not be). All of my images are high quality and nothing is being scaled up. I have adjusted the settings in the PDF dialog box to be printer quality, and I've checked the "High Quality" setting checkbox.
    Next I thought powerpoint preferred JPGs, so I saved all my images in that format, but I'm still having the same result.
    Here's another plot-twist: saving the powerpoint file on a Mac gives me slightly better quality, but none of the hyperlinks work.
    What up?

    It may be the PNG with transparency. This is a classic problem with AA, though I thought it had been fixed. Older versions could not handle transparency. With PPT, PDF Maker changes the borders I think. That improves the PDF result without having to change some of teh options in the printer yourself. The resolution looks good, unless your problem is that of some colors and lines being impossible to see because of the 1200 dpi. I use the default resolution of 300 dpi (the default is 1200). I had problems with 1 pixel vector graphics that would be washed out when done with the 1200 dpi.
    If it is not the transparency, then there is a chance the problem has to do with this display resolution.

  • New Mac Pro/ Final Cut X User--Jaggies and Low Res Playback

    Good morning,
    New Macx Pro with Cinema display and Final Cut X (demo) user. Working with P2 footage and noticed jagged egdes in upon playback. In other words, the footages appears as low res. I have the program monitor is set to full res and "fit". I am also testing Premier on my Mac (I've used Premier for years on a PC) and noticed a similar issue, but the jaggies aren't quite as bad.
    This issue has me worried. Any insight would be appreciated.
    Thanks,
    GL

    Okay, problem solved...whew! It turns out the playback setting in preferences was indeed set to "better..." and not high. Well, that deserves a...duh!!!
    Thank you for the recommendation.
    I also fixed the Premier issue. I had to specify custom presets for the project.
    Regards,
    GL

  • H.264 is outputting stretched and low res.

    Dear Compressor mavens,
    Help me if you can. My issue is this, a month ago I used compressor to take an uncompressed 1280 by 720 HD QuickTime movie output from FCP and make it into a hinted webcast QuickTime at high resolution and it worked great. I used H.264 at 50% of source and it was a dream to watch on the web.
    Now a month later I output the same project again, and using the same settings I attempt to make a similar compression. To my abject horror I found that the output was stretched width-wise to an obscene amount.
    I checked the 50% of source settings and noticed that the frame size read: 853 by 360. At 100% it reads the proper aspect ration - 1280 by 720. When I choose "custom" settings on frame size and type in the proper aspect ration for 50% (640 by 360) it exports the correct aspect ration.
    But to my complete horror there is a noticeable reduction in quality. The image is low res, pixilated around the edges of objects. Clearly not the same beautiful output I originally got from H.264. The really bizarre thing is that the image is the proper aspect ration without that lower res quality at 100% of source on the same setting.
    I tried messing with the video settings, by changing the data rate to automatic, then back, then upping the restrictions, and raising the compressor quality to best. Zero change. Still that crappy pixilated image.
    I tried switching the Pixel Aspect "Default for Size" to the proper 720 HD setting. To my elation I saw that now the 50% of source reflected the proper 640 by 360. But the quality still looks the same on the output.
    I thought perhaps I exported from FCP wrong. But the uncompressed QuickTime is the right aspect ratio and plays great.
    Any ideas? I really need to make a high quality hinted compression for the web.
    Save me, oh H.264 devotees...

    For H.264 on web, I would recommend one of the frame sizes suggested by Robert Reinhardt at http://labs.influxis.com/?p=6
    I believe this goes for every codec which makes use of 16 by 16 pixel macroblocks. If you choose a resolution which is not divisible by 16, 8 or 4, you might in addition to lower quality end up with a 1px green border at either the top, bottom, left or right side of your frame.
    Have you tried using frame controls in Compressor? Have a look at this post: http://discussions.apple.com/thread.jspa?messageID=7309534&#7309534
    There is no need to change the pixel aspect ratio to something other than square. You want square pixels for content displayed on a square pixel display (unless you are making an Apple TV anamorphic file).

  • How do you save a PDF fillable form with a Samsung Tablet and still continue to have access to the original document?

    We are using the Samsung Note and have uploaded a PDF form for fieldwork crews to enter vegetation data. When we have filled in the form there is no option to save the form under a different name but rather the form simply saves itself with the most recent information placed in it. We understand that you can send it through Acrobat.com to your account but the tablet will not access this site while in the PDF app. Does anyone know of an app or a way that we can create individually saved files and still have access to the original on the tablet?

    It can also work if you certify the document and each user chooses to trust it to execute privileged JavaScript, which may be feasible in this setting. The method you'd use is doc.saveAs: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.524.html
    Also, read the following tutorial: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • High noise margin, low speed and repeated drop out...

    Hi - I have a Home Hub 3 which is always dropping the connection.  Unfortunately it gets re-booted alot as this seems to be the only way to get things moving again.  I have just ordered a new router/modem to ss if that will hold the connection better but have been reading these forums and see that the Line Status and Speedtest are a good place to start.  My Line Status shows a noise margin of 17.7dB - could this be my problem?
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    0 days, 03:09:09
    Downstream:
    7.781 Mbps
    Upstream:
    448 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Fast
    Noise margin (Down/Up):
    4.3 dB / 22.0 dB
    Line attenuation (Down/Up):
    33.6 dB / 17.5 dB
    Output power (Down/Up):
    19.8 dBm / 11.7 dBm
    FEC Events (Down/Up):
    0 / 2
    CRC Events (Down/Up):
    3000 / 5
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    1907 / 1
    Error Seconds (Local/Remote):
    794 / 6
    Speed Test data via BT Wholesale site
    D/L speed 3.78  
    U/L Speed 0.23  
    Ping Latency 68.38
    and via BT domestic speed test
    D/L Speed 5.74
    U/L Speed 0.20
    Connection Speed 7.97
    Do you think noise is my problem and any suggestions please!!
    Many thanks in advance
    Andrew

    Ha - many thanks the quick reply but I am un-masked already as not having a clue what I am talking about! A few hours spent reading up on things before I posted was not enough! I am plugged in to the test socket - have just done the quiet line test on 17070 from a corded phone and there is no noise. A bit of history - 18 months ago we had issues with water damage to underground lines to the house and we are now on the last usable pair (?) at that time I had all extension wiring reoved and new Master socket fitted. We have been OK but not spectacular since - we struggle to have 3 computers running off the net at times and I dont beieve we are getting anywhere close to our expected speed and then recently we have experienced drop outs and really slow speed as mentioned in original post.

  • Need work around! import camera photos, come in huge and low res

    since i need good photos for my fce projects and to have only one camera instead of two...i bought a New panisonic 3ccd camcorder, takes video and can take good 1760 x 1320 pics (2.3 mega pixel)...but when i import to iphoto, it comes in as a 24' w by 18' h and at a crummy 72 dpi. called panasonic and they were as mac friendly as bill gates.
    they had no suggestions.. reading discussions i tried image capture, no change. i want a 5 x 7 picture with all its detail. it must be a software problem..where to go what to do !!!!!
    help!!!!!!

    tom, thanks great article..but i'm not concerned about print media..so 2 questions..
    1.. are you saying my 1760 x 1320 pixel pic should be fine in fce cause it will scale it down to correct size and look good??
    2. if your answer is yes.. then iphoto must be more dpi sensitive than pixel numbers... pics look real fuzzy in iphoto cause it 24'x18' at 72 dpi...if photo size was 5x7 then dpi would go up and look fine in iphoto. but i dont know how..you know that you can enlarge a hi mega pixel pic to a point and still look good BUT. you cant resample in photoshop a large 72 dpi pic to smaller and higher dpi and expect it to look good..??? is so how ???

  • Multi cam Monitor in PPro 5.5 is blocky and low res

    Is there some type of setting that will make my Multi-Camera monitor look like it did in Premiere Pro 5? right now is very pixelated and blocky. I haven't used Multicam Monitor before in PPro 5.5, but 5 it was ok (it didn't gang realtime with the program monitor but maybe someday).
    Is there some setting or glitch I've missed?
    I'm on Mac OS 10.6.8, Mac Pro 24GB with Quadro 4000 card.
    Thanks much for any advice!

    Have you updated your drivers for the Quadro 4000 and Mac OSX v10.6.8?

  • VZ Messages - unknown error and low res pictures

    I just installed VZ Messages on my iPhone 5 with IOS8. The app shows an "unknown error" message that doesn't seem to have any effect but it's hard to tell. What is this?
    Also, all of the pictures I receive are low quality. In the native IOS message app, the pictures look great. It doesn't matter who sends it to me, iPhone or Android. Is there a setting that should be changed?
    Thanks.

        mjross33, I know that this would concern me just the same. Given the issues are related to the picture quality it may be best ot go into a local store to get a hands on approach to see what may be going on. http://bit.ly/3SdsA
    AdamG_VZW
    Follow us on Twitter @VZWSupport

  • Error Code -1202 and Low Res Account Info

    My iTunes Store functions normally except when I look at my account information the pages I can access are in a weird low resolution layout where everything is in a simple Times New Roman font and just goes down the page in one big column. When I try to click on a link on the main account page like "Redeem" or "Purchased" the message error code -1202 pops up and tells me to try again later, I've had this problem for perhaps more than a year.

    It might be an issue with the configuration on your computer. I had this issue before and was able to fix it
    This article helped me: http://support.apple.com/kb/TS3222

Maybe you are looking for

  • How to handle check-out files of users that are no longer with the company?

    We have cases that files were checked out and modified, but the engineers left before they check-in the files. What's the right way to handle such cases? Does the project admin have right to check-in for the engineers? How can we make another person

  • EXIT NAME OR BADI FOR FIELD IN MIGO TRANSACTION

    Hai all, In MIGO transaction,  I want to know the BADI or EXIT NAME in which the following fields are avilable . Fields name: exgrp, EXCISE_ACTION exact screen field name is : J_1IEXHEAD-EXGRP                                          J_1IEXHEAD-EXCIS

  • Display image stored @ content managemenbt

    Hi, this is regarding to displaying image stored @ content management, using <html:img> tag in .jsp under a node i am uploading two images. (node having two upload options) in .jsp i am using <html:img> tag to display the images. i tried to display b

  • How to close Sales Order?

    Dear Friends, I have created a Sales Order for 1000 Tons and we have despatched 990 tons aginst this sales order. Now what setting I need to do so that system will allow to despatch only balance 10 tons. Currently system is allowing me to destach mor

  • Change Mail's 'Copy Address' behavior

    All, the old hint (see http://hints.macworld.com/article.php?story=20091203062729936)) no longer works. << In versions of Mail prior to OS X 10.6, you could copy an email address from a message by Control-clicking on the address and choosing Copy Add