How to hide a picture

I have a rectangle box with an image inside. How to hide the image via the script? I want to refer to the photo by name.

If it's the table, try this:

function GetItemFromCollection(label,collection){
    var scriptVersion = app.scriptPreferences.version;
    if( parseFloat(scriptVersion) > 6){app.scriptPreferences.version = 6}
    var items = collection.item(label).getElements();
    app.scriptPreferences.version = scriptVersion;
    if(items.length==0){return null}
    if(items.length==1){return items[0]}
    return items;
}

items = GetItemFromCollection("myLBL",app.activeDocument.pageItems);
if(items instanceof Array){
    for(var i = 0; i < items.length; i++)items[i].visible = false;
}else{
    items.visible = false;
}

--

tomaxxi

Tags: InDesign

Similar Questions

  • I hid a picture, how do I get it back? Or where I can find it?

    I accidentally hid a picture, how can I get it back? When you are on the photo and you pull up the menu to copy, print, or send in other applications, there is an option to hide, I did, but how can you get it back? Or where you can find?

    This message appears when you hide a picture:

    "This picture will be hidden for the Moments, the Collections and the years, but still visible in Albums"

  • How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    dannyb76251437 wrote:

    How can I put pictures outside the window of Photoshop elements 14 work, so that I'm not obliged to work within the program window, but use my screen completely for the image?

    Note that you can work with two screens and drag and drop the image to display on the other window.

    I think you mean working temporarily with the window enlarged image without displaying all the tools and panels.

    See:

    Panels and bins in Photoshop Elements

    My advice: take the time to read the above help and especially to look at ways to maximize this window if you are on Mac or Win.

    Set your preferences in the Edit menu to "allow the floating windows in expert mode.

    Use the "tab" on the keyboard key to hide or show your panels and tools quickly.

    Find out how to hide the photo tray.

  • How do I save pictures to my e-mail on photos on 10 ios app?

    How do I save pictures to my e-mail on photos on 10 ios app?  Economy option disappeared on ios 10

    The option is always there. You should press and hold on the image a little longer and then when the backup or copy of the window opens, save the Image is on the bottom row, but you may have to slide to the left to reveal. Once you find it, you can reorder the options by dragging the 3 lines to the right upwards or downwards as see fit you.

  • How can I post pictures to the resulting internet forum photo album?

    How can I post pictures to a photo album on an internet forum?

    Use Safari or any web browser that supports the media browser and upload them (in the window download selection to the bottom of the left pane under media source == > photos == > Photos)

    LN

  • How to attach a picture to the default email

    How to attach a picture to the default email

    Since the iPhone user Guide:

    http://help.Apple.com/iPhone/9/#/iph3caef30a

  • How can I transfer pictures from my computer to the iphone 5 using icloud

    How can I transfer pictures from my computer to the iphone 5 using icloud

    Normally, you do not use iCloud for this, you use iTunes, as shown below, but you can use iCloud photo library if that's your preference.

    Keep your photos safely stored and updated on all your devices - Apple Support

  • How can I take pictures in 16:9?

    Hello

    Normally, when I take pictures, they are 3264 × 2448 pixels = 4:3.

    How can I take pictures in 16:9?

    I know that I can crop a 4:3 picture later, but I'd like to see the correct size before taking pictures.

    Is it possible, or do I need an additional application for that?

    Thank you very much!

    See if you can find an app for that. The native application of the camera's native resolution or square.

  • How do you get pictures stored in the photo library of iCloud?

    How do you get pictures stored in the photo library of iCloud?

    Richard

    Tucson

    You can use a browser of the computer (for example, Safari) and you connect to https://www.icloud.com/ and open the Photos app here.

    Will be also in the pictures on any device where you have iCloud library lit. On a Mac, it is turned on via the Apple menu > System Preferences > iCloud > Photos > iCloud photo library. On a Mac to OSX Yosemite 10.10.3 or later version. See below for more information: https://support.apple.com/en-us/HT204264

  • How to hide temporarily inactive titles in Page view?

    How to hide a track layout once its regions have finished playing? In the screenshot below, the cursor is at 92 bar, and you can see in the window Arrange regions 'Nina' and 'Daddy' are finished playing. But they are still displayed in Page view. How to hide the display Page once they are done? In Logic 9 disappear automatically...

    several ways to do this... one way is to cut the section is based in the arrange window and use them gaps to show this gap as remnants or hide personnel. You can use regions muted in exactly the same way, if you choose...

    Below shows the two staves to measure 13...  They were cut out of the arrange window and I can have them appear in the staff or not based on the box fill up the gaps.

  • How to hide the names of the recipients when I send an email to many people?

    I'll send a message to a lot of people I know, and I think that some of them would rather not showing e-mail addresses. How to hide the?

    You use the BCC (blind carbon copy) field instead of the CC field to prevent one of the most complete list.

    Probably there is a button on the edit page to reveal this field.

  • How to hide the images used in imovie 10.1.2?

    I am a new user of iMovie and use the latest version. How to hide the photos that I already added to the film? Moreover, that mean the purple and orange lines on the photos? Thank you!

    You can not hide, but the orange lines at the bottom of the clips in the media pane show what parts of clips have been used in the scenario, if you can easily avoid reuse them if that's what you want to do.  The purple lines at the top of some parts of some clips show moved excessive (which cannot be stabilized).

    Geoff.

  • How to hide the menu item 'bookmarks '?

    Firefox 5.0.1
    At the menu bar: 'File', 'Edit', 'View', 'History', "Bookmarks", etc.
    How to hide the element of "bookmarks"?
    I have the add-on PLAINOLDFAVORITES installed and
    I forgot how with v3.6.18.

    Thank you very much

    Click the Firefox button and click on Add-ons -> Add-ons Manager, tab opens-> go to Control Panel Extensions-> select your add-on "Favorite PlainOld" , click Options

    Check and tell if its working.

  • How do hide you text on video?

    How do hide you text on video?

    In Final Cut Express, she uses a technique called Alpha matte, but I can't find anything like it in Final Cut Pro X (10.2.3).  Can anyone help with this?

    VVideo Inspector. Compositing. Blending mode. Stencil or alpha silhouette.

  • How to hide the sidebar with other files of Notes?

    OS X El Capitan (10.11.3)

    I am trying to read a PDF Acrobat Pro and take notes with Notes in my mac, side by side.

    I would like to know how to hide the sidebar on the left of Notes, where are the names of the other file.

    I don't want the files, I already went to 'View' and you click "hide files".

    I can just see the writing of the Notes area while sharing the screen with the document I read in Acrobat Pro.

    Looks like a basic feature which Apple or Adobe Acrobat Pro should have, but I can't seem to find it.

    Looked for other solutions to the App Store, but what I've found is a bit expensive.

    I appreciate any assistance.

    I asked that your thread moved to the El Capitan forum.

Maybe you are looking for