Need a script to change attribute of all images from not printable to printable

Hi everyone,
I have a couple of books with contain numerous images. These images are al set to not printable. Now the publisher wants to print books himself so images should be printable. Anyone have a script to automate this?
thanx in advance

Hi,
Use this JS codes.  It will change the all non printable images into printable.
var allGRs = app.activeDocument.allGraphics;
var a = allGRs.length;
while (a--) {
    if (allGRs[a].itemLayer.printable == false) {
            allGRs[a].itemLayer.printable = true;
I hope this helps to you.

Similar Messages

  • Remove ALL Images from PDF Export?

    I'd like to remove ALL images from a PDF export (Indesign CS6), with the intention of having the smallest file size possible for review. All the images are Photoshop PSDs.
    I have created a PDF Preset (PDF 1.7) that omits EPS, PDF and Bitmap.
    That covers any PSDs that contain opaque backgrounds, i.e. are considered to be non-transparent. However, any PSDs that do NOT contain such backgrounds still appear in the exported PDF. I assume they are NOT considered to be Bitmaps?!?
    I've gone for maximal compression of images (in the Preset) also just to see how small I can get the file, but it's still over a meg, and I'd really like even smaller. I live in a rural part of England where net access is painfully slow, and even a few meg of data takes far too long to upload, not to mention the constant drop-outs. Consider further that my document is likely to grow by several orders of magnitude and hopefully you can see why I'd like to sort this issue out as soon as possible.
    I've not done any scripting but assume it would be trivial to hide images with a script. However, I'm not sure how such a script might know how to make visible only the images that were previously hidden by the script. Obviously I would not wish to unhide images that must stay hidden. Maybe some form of image/object tagging, if that's even possible in this product, i.e. tag them "temp hide" on first pass of the script, and so forth.
    Any suggestions much appreciated.
    Regards,
    James

    @James – to mark the container frames of the nonprinting images by a fill color, you could add the following lines of code in the for loop:
    allGraphicsArray[n].nonprinting = true;
    //The parent of the graphic is the container that holds it.
    //We could use it to fill it with a tint of e.g. 20% of black:
    allGraphicsArray[n].parent.fillColor = "Black";
    allGraphicsArray[n].parent.fillTint = 20;
    But this approach will add a new problem for images, that only use a portion of the holding graphic frame. Or are only partly visible due to a clipping path or a clipping mask or totally transparent areas due to transparent pixels.
    Already colored backgrounds will be recolored…
    @Sandee – I see the advantage of the PostScript to Distiller way in this situation, but there are two disadvantages:
    1. Live transparency will be flattened (could be no issue in this use case, but you never know).
    2. The gray area with the big X will be applied also to parts of the images where no pixels are present (transparent pixels in PhotoShop or TIFF files).
    To work around all these issues we need a more complex script that is building a  path object around the transparent parts of an image or using an applied clipping path for that purpose and fill that with a gray tint (and maybe with an X).
    Here some screen shots to illustrate the problems (with or without using PostScript/Distiller):
    1. Original set up:
    One placed PhotoShop file with transparency stacked upon the text frame.
    The image inside its holding frame is selected.
    The visibility of one of its layers depicting a second chair on the left side is switched off.
    2. The same setup in a different view:
    3. After running the script with the two additional lines of code:
    Using the PostScript method would do nearly the same plus adding a cross using the  area of the selected image.
    Uwe

  • I had all photos on a Windows desktop.  Got a mac laptop, installed LR5, and put all images from Windows onto an external hard drive.  When I go to import them into LR on the Mac, they are all locked.  Help, please.  Thanks

    I had all photos on a Windows desktop.  Got a mac laptop, installed LR5, and put all images from Windows onto an external hard drive.  When I go to import them into LR on the mac, they are all locked.  Help, please!

    "I plugged the external into the Mac and moved a folder of images onto the desktop.  It looks like it went from read only to not locked.  Is this possible?"
    Yes, that's exactly what happened. If you buy another drive, you could copy from your existing drive to the new and your files will be read/write. The new drive will have to be formatted as an HFS drive (that's the Mac's format). If you need to format it, you use Disk Utility which is in the Utilities folder on your Mac. Be careful with that -- it wipes out whatever is currently on the drive. Make sure you format the right drive.
    I keep all my images on an external drive, too. In fact, I have two matching drives and sync them so I always have a backup.

  • Photos 1.0 not showing all images from Photos Library.photoslibrary folder/file after update install

    I installed the update that changed my iPhoto to Photos 1.0, and the new Photos program is not showing all images from Photos Library.photoslibrary file/folder (not sure to call it file or folder since it is actually a folder with all my pics but it acts more like a file) after update install.  The Photos Library.photoslibrary file/folder shows to be 55 gb in size, and it shows to be loaded into the photos program, but there are maybe a few weeks of pictures showing instead of a few years.  Lots of pictures in the 55 gb are not showing for some reason. 

    No - iPhotos has not replaced anything - it is new and an addition - iPhoto is still on your system in the applications folder and still works just fine
    Outlook is not supported by Photos - not sure if the support must come form Apple or MS as Photos uses a different interface to external packages than iphoto did
    LN

  • Best way to extract all images from Messages?

    My iPad freaked out earlier today and unfortunately I had to do a recovery and restore (from iCloud backup).  I say unfortunately because I was 90% certain I was not backing up photos/video (and there was no way to check before doing the restore).  And indeed I had photo/video backup turned off.
    I'm mostly back to normal now, except for all the lost photos/videos.  I've gone through some of Messages to Save ones I sent there. 
    What is the best way to extract all images from past Messages so I don't have to tediously load earlier messages?   I understand there are some programs that allow one to go through a local backup and go through messages.  But for this I suppose I'd first need to make a local backup of everything, no?  Are those programs able to extract just images I've sent or do they grab everything (i.e. images others have sent me?)
    Related, before I did the initial restore could I have easily retrieved the photos/images on the device through some third-party solution?
    Lastly, and semi-off topic.. What determines the image name for an image in Messages?   For example, I Copied a photo someone sent me via Messages and Pasted it three times back to her (all at the same time).   The image filenames are IMG_6447.jpg,  IMG_4820.jpg, IMG_0291.jpg.  

    Thanks Kirby.  I utilize Aperture 3 by reference instead of a compiled library.  So I have individual folder/projects stored on my laptop.  By exporting as a library, does Aperture bring these folders and related images "with it"?
    What I don't want to lose is any post processing I do in the field which creates separate versions and/or .PSD files.
    Thanks for your continued assistance.
    Chris

  • How to get all images from folder in c#?

    I am trying to get all images from folder. But it is not executing from following:
     string path=@"C:\wamp\www\fileupload\user_data";
                string[] filePaths = Directory.GetFiles(path,".jpg");
                for (int i = 0; i < filePaths.Length; i++)
                    dataGridImage.Controls.Add(filePaths[i]);
    Please give me the correct solution.

    How to display all images from folder in picturebox in c#?
    private void Form1_Load(object sender, EventArgs e)
    string[] files = Directory.GetFiles(Form1.programdir + "\\card_images", "*", SearchOption.TopDirectoryOnly);
    foreach (var filename in files)
    Bitmap bmp = null;
    try
    bmp = new Bitmap(filename);
    catch (Exception e)
    // remove this if you don't want to see the exception message
    MessageBox.Show(e.Message);
    continue;
    var card = new PictureBox();
    card.BackgroundImage = bmp;
    card.Padding = new Padding(0);
    card.BackgroundImageLayout = ImageLayout.Stretch;
    card.MouseDown += new MouseEventHandler(card_click);
    card.Size = new Size((int)(this.ClientSize.Width / 2) - 15, images.Height);
    images.Controls.Add(card);
    Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies.

  • Recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    recently i lost my laptop, how i want to upload all image from my iphone back to my new laptop?

    importing pics from iphone to computer http://support.apple.com/kb/HT4083

  • Can i display all images from databases with adf jsp

    hi
    I want to display all images from the databases whit adf bussines components, because with the sample on http://www.oracle.com/technology/training/products/intermedia/index.html page, i only can display 10 images. i'd lije to know if i can to search in the databases by the id of the image.
    this is the code:
    %@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <html:errors/>
    <table border="1" width="100%">
    <tr>
    <th> </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Id']}"/>
    </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Descripcion']}"/>
    </th>
    <th>
    <c:out value="${bindings.ImagenView1.labels['Image']}"/>
    </th>
    </tr>
    <c:forEach var="Row" items="${bindings.ImagenView1.rangeSet}">
    <tr>
    <td>
    <c:out value="${Row.currencyString}"/>
    </td>
    <td>
    <c:out value="${Row['Id']}"/> 
    </td>
    <td>
    <adf:render model="Row.Image"/>
    </td>
    <td>
    <c:out value="${Row['Image']}"/> 
    </td>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

    I think you want the interMedia JSP tag library...
    http://www.oracle.com/technology/software/products/intermedia/htdocs/descriptions/tag_library.html
    Larry

  • Won't download all images from my sony camera...only 6 out 0f 170, says rest of them are "unreadable j.peg format". Help!

    Help!  My Mac will not download all images from my Sony digital camera...well, it downloaded 6 out of 170, then said "unreadable j.peg format". This is the second time I have had this problem with this camera. Up to this second time, I have not had a problem with downloading. Now when I plug the camera back in in, it shows empty frames of pix  on Mac screen, but pictures are still on the camera. Any suggestions?

    See if you can use Image Capture to upload your photos to a folder on the Desktop.  Once you have them off the memory card reformat the card using the camera, take some photos and try again.
    OT

  • How do I erase all images from a card in the Cannon Rebel t3

    how do I erase all images from a card in the Cannon Rebel t3

    Hello debrusso,
    I would just like to give some quick advice that you all may already know but I was just told this countless of times that I thought you all would like to know. \
    I have been told by numerous of photography professors that it is always best to try to format your camera every now and then. Because your memory card is not really deleting the photos but rather hiding it somewhere. This is a problem because it still takes space from your card. The solution to this is to FORMAT because it is one of the safest ways for your camera to erase images. It also sets up properly for your camera like new. But make sure to save your images before doing formatting. I have had many silly accidents this way. Lol.

  • [JS, CS3] a script to change language in all paragraph styles

    Hi,
    I made a script to change the language in all paragraph styles to "French", but when I run it I get the error: "Invalid request on root style". Could you please tell me what am I missing?
    myDoc = app.activeDocument;
    myStyles = myDoc.paragraphStyles;
    for (i = 0; i < myStyles.length; i++)
    myStyle = myStyles[i];
    myStyle.appliedLanguage = "French";

    Thanks a lot!
    The problem is solved
    Ola

  • Need to Export All Images from Aperture to Photoshop.  Can anyone help?

    I'm new to Mac. Just got my iMac in January. I wanted to buy the Mac version of Photoshop Elements 8, but the Apple salesperson convinced me that Aperture 2 would be much easier. After three months, I've discovered that Aperture is just not for me. I just purchased and installed Photoshop Elements 8 for Mac today. I would like to move all of my images from Aperture to Photoshop and delete Aperture from my computer. I cannot figure out how to do this. Whenever I try to export, the Aperture "library" appears as a big block that won't open or prompt for subfolders. Please help!

    Pvonk has good advice. I just want to make sure you understand the Aperture has a Master and at least one Version of each image file. The Master is the original -- never touched. The Version is at first a copy of the Master, but as soon as you make any changes it holds those changes. So you have to decide whether you want to export the Masters, the Versions, or both (which you'll have to do separately, afaik). Aperture gives you the choice. Click "Photos" in the Library tab of the Inspector, then select all, then "File>>Export". If you want to maintain your groupings (e.g.: Projects), you will probably have to select the images in each group and export them as a unique set.
    Note that Aperture is a very powerful image database (pros refer to this as "Digital Asset Management") in addition to (w. v. 3) being a very powerful digital photograph development lab. Photoshop Elements does none of the former, and a very different kind of job than the latter.

  • Not all images from iPhoto came into Aperture

    I ran an import from iPhoto and I think I am not seeing photos in some albums.
    Is it possible this is due to my hiding the Album in iPhoto and if so can someone tell me if there is a good or a global way to unhide all Albums?
    Also, can someone tell me if it is possible that I need to unhide all photos as well?
    Are there other things I should make sure to do so that everything I can get to Aperture gets to Aperture?
    Looking forward to working in this software but I have to get clear of iPhoto first.
    Thanks.

    I've been importing referrenced images into Aperture since it was launched. I am also irritated when I set the sort order to Date and as soon as the import starts it changes to Manual.
    Are you saying that I have to go back to my hundreds of albums and set each one to be sorted by Date in order for a new import into a new album to be imported already sorted by Date?
                                            Additional trivial complaints follow:
    I never import from the camera or the SD card. I move my images onto an external HD where they are arranged by date. The files and the folders are set to sort by date on my HD. Why not follow that protocol when importing?
    It was bad enough when v 2.0 came out and decided during the update and "conversion" that my method of sorting and displaying my images which were Year = Project, Month = Folder, Day = folder was incorrect.. Everything was sorted by date because the names of the Project - Folder - folder were all labeled by date : year - month - day. Everything was messed up when Aperture decided I was using the wrong order of storage. So Aperture, without asking, changed the way my images were stored and sorted. It took me weeks to convert them so they would sort & display the way I wanted.

  • How do I tell iphoto NOT to load ALL images from camea and iphone, only new images?

    I've bee using my MacBook Pro, iphoto and Nikon for many years. I travel alot and take many pictures, and like to keep them on the memory cards as an extra backup. All was going great on a recent trip, until one day, suddenly, when I plug camera into computer, iphoto opens (as usual) but it starts downloading ALL of the old images on the memory card instead of just the ones that have not already been imported! It takes forever when you are using a 16GB card!! Is this due to some update I installed? How do I tell iphoto not to do this?! I only want to see images not yet imported, as it used to be. I am using OS X 10.6.8 and iphoto '09 - 8.1.2  And, this same thing is happening with my iphone, and my other camera.

    iPhoto does read all images (how else can it know if it has already imported them or not) and then gives your oppertunity to import new, all or selected
    Yes it does take a bit to get all images and see what needs to be imported - I use 32 GB cards - and the other issue is that if you delete impoprted photos next time you use the card the deleted ones will be in the new list so you have to select the rest and import selected - I've found no solution to this
    LN

  • CS6 won't open all images from Windows Explorer

    Hi!
    Today a colleague of mine encountered a strange behaviour with Photoshop CS6 64bit on a Win7-PC (also 64bit), which I could reproduce on a second machine.
    Highlighting severeal jpg-images in a folder and hitting the Enter-key opens
    all images in Photoshop, when Photoshop wasn't running
    only some images (1 - 4 images out of 5) randomly, when Photoshop was already running
    The same effect happens when I use the "Open with..."-command from Windows Explorer on the images.
    Does anyone know this issue?
    Regards
    Dieter

    Normal behavior. Windows only allows a given number of files to be handed over via DDE and that's what happens when a process is already active. When you do this with no program open, it simply blindly fires a standard command with only one file as an argument, but does so for every single file. That's why it works then. Nothing you can change. It's a limitation in Windows itself combined with the fact that only one PS process can be active....
    Mylenium

Maybe you are looking for

  • Cell Wrap Text

    Hi, Does the MS Word's cell Options > Wrap text really work? I have XMLP 5.63, Word 2003, and I'm trying to restrict the invoice line description to only 1 line, but it does not seem to work. Does anybody have any ideas? Thx Jo

  • Bounce Handling

    Hello Experts, We are executing a recurring campaign which will pick date as an attribute and filter, that will trigger sending of emails about the Happenings of a particular quadrant to all the stake holders.we are worried about the bounces now. How

  • Report to know activities in customer accounts at company code level

    Hi All, Any idea about any report available in SAP to get the balance in customer accounts (total) with the break up in terms of activities at overall level. Activites means sales, payments, debit note, credit note etc...(any kind of posting in custo

  • IPod Software update and erasing mac drive

    My mac was going to slow so i decided to wipe the drive. I have all my music. But Before I wiped it I had the january update on my touch. So I reloaded all my music to itunes. and it told me to erase and sync. now i cant get the update back. Help me

  • How do I import clips without the "Handles"?

    I'm trying to build a project from several different iMovie 5.0.2 projects. The problem is, after trimming the clips I need in one project, in attempting to import the individual clip to my new project, iMovie tries to import the ENTIRE project and n