How to select the image link

Hello world

How can select image equation as a selection tool. Your help will be much appreciated.


Thanks in advance,

Barry B.

Hello world

Here my code works very well.

myDoc var = app.activeDocument;

for (var n = 0; n)< mydoc.links.length;="">

{

var aLink = myDoc.links [n];

alert (aLink .name);

var link, image, image;

If (aLink is '[object Link]')

{

link = for more information;

image = link.parent;

Frame = image.parent;

Frame.Select ();

}

}

Kind regards

Barry B.

Tags: InDesign

Similar Questions

  • How to select the image through the gallery or the camera on the blackberry torch 9800?

    Hi all

    I developed the web application. In I want to select the image through the camera on the blackberry 9800 torch or Gallery. so I need the code for when I click the button to view the two options which is 1. take a picture of the camera and 2. Take a photo from the gallery... So please me to fact... Thanks in advance...

    With Ragards,

    Marimuthu_P

    Sorry, there is no API available on the old version of WebWorks for this. You must create your own extension "file picker".

  • How to select the pieces of my image in black and white?

    How to select the pieces of my image in black and white? FOW example letter J or the circle or the two together?

    jaguar_growler_blur best8.png

    It's actually pretty easy, but I have to assume that you know a few basics in Photoshop

    (1) open your existing image

    (2) double click on the layer and the 'layer style' appears. In the mix if area set the sliders so the whites in the image disappears

    You will be left with just the black elements in design

    (3) duplicate layers

    and merge them together

    to give a standard layer

    (4) ctrl or cmd click on the layer to select and create a layer mask

    (5) you now have a mask of the image. Duplicate the layer, click alt or option, click on the layer mask to call

    (6) the blacks and the whites are not completely black and white for the use of levels to adapt to the absolutes

    (7) now you have to decide what you want to select. In this case, I chose the lettering and simply covered everything else to the top with black. You do this by lasso selection and fill and items when it's delicate brush just the details with a black brush "hard." .

    (8) at this stage, you can do what you want you have a layer mask. So you can color the text for example

    or place in a background color and apply a layer as Beveling effect

    Hope that makes some sense. It is much easier to do than to describe.

  • How to select a picture, ignore one and many with shift click to choose several without also selecting the image that you have ignored.

    In the grid discovers how to select an image, a jump and select several images following the a l ignored without also selecting the previous image, that you have ignored as well. This is possible in opening

    Probably easier to select all the with shift-click and then deselect (ctrl-click), one that you don't want.

  • How to get the resolution linked image (in PPP/DPI) in Indesign CC2014?

    Hi all

    Is it possible to get the image linked in PPP/DPI resolution? I tried it by the following code snippet, but it always returns the value, 72 dpi.

    IImageCache * imageCache = nil;

    imageCache is Utils < ILinksUIUtils > ()-> QueryThumbnailForLink (iLink, iLinkResource);.

    if(!imageCache)

    continue;

    PMReal iResolution = imageCache-> GetResolution();

    Thanks in advance.

    I use the IImageAttributes::kPMTagXResolution or IEPSAttributes::GetTargetRes tag.

  • How to disable the image previews

    In the windows client there is an option to disable the image previews with

    Tools-> Options-> settings IM-> Show advanced options. Uncheck the option: "show images in conversations".

    In the client Mac there isn't this option. How to disable the image previews in a Mac client?

    OK, found the solution in another thread here: http://community.skype.com/t5/Mac/YouTube-thumbnails-amp-link-previews-Why-don ' t-I-see-them/m-p/39692...

    Menu bar-> display-> display Images-> uncheck

  • How to remove the image of the button (typedef)

    Hello

    years, I created a costomized button that is now a TypeDef.

    There, I added a picture to the 'State '.

    How can I remove this imported picture to show just the color that is set in properties?

    Thank you

    Hello OnlyOne,

    Select your control, click Edit-> order customize (ot type Alt-E, E), then in the command editor make sure, your photo is visible, and then type Ctrl + M or click on the small button with the key symbol. Then click on the photo a del hit.

    If you cannot select the image, because it is behind other parts, in the Editor menu command go to window-> display the parts, you can select the item in the photo. When the image is selected, you must click on the title of the command Editor window to give it focus for typing of Del.

  • How to change the image field captures screenshots automatically from BMP to JPEG

    How to change the image field captures screenshots automatically from BMP to JPEG

    I want to say, when I tap on the screenshot on my keyboard and paste this image in microsoft photo editor or picasa 3.0 areas of the bitmap .bmp. instead of asking the witch I´d field prefer.
    So, I open that image on the brush to convert it to. JPEG.
    It's hick very!
    is it possible to easily me this step and save or paste pictures in JPEG on my files automatically?

    Hello

    I saw that article when I was looking for one that I posted...

    I understand your problem, and the answer is that, to the best of my knowledge... NO..

    Windows records the capture in memory as bitmap, along with, even if you can paste it directly into a folder, it would be in the form of bitmap...

    The best I could find is to use the suggestion in the link I've included which refers to the

    Windows Key + PrintScreen to automatically record is in PNG format in your pictures folder...

    The only way to do what you want is with a 3rd party capture program that can be configured to save in a directory as a specific file type...

    Personally, I use a program called print screen Deluxe for this... it is a purchased program...

    I'm sure you could find something free to do what you need...

    You may need to use a different key for print screen, but the software can allow you to reprogram the PrntScrn key...

  • How to check the image source for the image which is losted?

    Hello world

    How to check the image source for the image which is losted?

    If the image source already exists, I can read the PlaceItem.file.fsName.

    But if remove the image of the source, read the PlaceItem.file.fsName will report the error: there is no file associated with this element

    Thank you

    If (app.documents.length > 0) {}

    var sourceDoc = app.activeDocument;

    sourceName = sourceDoc.name var;

    artItem =]

    for (i = 0; i < sourceDoc.pageItems.length; i ++) {}

    artItem [i] = sourceDoc.pageItems [i];

    If (.) TypeName artItem [i] == 'PlacedItem') {}

    If (.imageColorSpace [i] artItem == undefined) {}

    Alert ("the file is the link, but I don't know whether or not the source image is losted");

    }

    }

    }

    }

    Use try/catch to catch the error

    if (app.documents.length > 0) {
        var sourceDoc = app.activeDocument;
        var sourceName = sourceDoc.name;
        artItem = []
        for (i = 0; i < sourceDoc.pageItems.length; i++) {
            artItem[i] = sourceDoc.pageItems[i];
            if (artItem[i].typename == 'PlacedItem') {
                if (artItem[i].imageColorSpace == undefined) {
                    try {
                        var fname = artItem[i].file.name;
                        alert("file name: " + fname);
                    }
                    catch (e) {
                        alert("The file is linking ,but source image is lost");
                    }
                }
            }
        }
    }
    
  • How to change the image on the layer of the photo?

    How to change the image on the layer of the photo? I accidentally chose the wrong design and I'm not able to delete/modify it. Already, I had little work, so the change in office had to happen sooner.

    Sara

    To change the image in the photo layer

    1. Select the layer of the photo in layers;

    2. click on the button to learn more.

    3. delete the current photo;

    4. the layer is reset with no picture

  • My nail of the thumb in bridge always have evidence the adjustments I make to RAW files. Now, for the first time they have not. However when I select the images adjusted and open them in CS6 adjustments are there. I restarted the bridge and PS, and I rest

    My nail of the thumb in bridge always have evidence the adjustments I make to RAW files. Now, for the first time they have not. However when I select the images adjusted and open them in CS6 adjustments are there. I restarted bridge and PS, and I restarted the computer (Mac). Still the same problem.

    I thank assani, but it wasn't the answer. The problem was, I finally understood, that the "option for generation of quality and preview thumbnails" wasn't on "high quality" as it usually is. I have no idea how this happened as I never change this option.

    Thanks a lot for your help.

    Mitchel Gray

  • How to select the Type of industry 8.3 Professional P6

    Hi all

    According to the document to change the type of industry for 8.3 Professional P6, I had to go to P6, Application settings, general link.

    But in the P6 Web client to administrator > Application Configuration > General there is no option is available for the type of industry.

    Let me know, how to select the type of industry?

    You can see the OPINION score "How to change the Type of industry P6 P6 PPM (Professional), P6 EPPM E8.2 and later versions (Doc ID 1386047.1)".

    Also can you paste a screenshot here.

  • Select the Image after you have placed

    Hi legends,

    With the help of the forum, I developed the script below.

    My request is for jobs in math type, find the content and location of the Image fine //working

    But for another application, I need to select the image again.   need your help

    var myDoc = app.activeDocument;
    
    //to get image path
    var myFilePath = app.activeDocument.filePath;
    var myLinksPath = myFilePath + "/" + "links";
    var myArtPath = File(myLinksPath);
    var myArtFiles = myArtPath.getFiles("*.eps");
    
            
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "<<<.+?>>>";
    var _equFound = app.activeDocument.findGrep();
    
    for(e=0; e<_equFound.length; e++)
    {
        var _equ_Content = _equFound[e].contents;                         //1
        var myFinalContents = String(_equFound[e].contents).replace(/>>>/, "").replace(/<<</,"");
        
            for(j=0; j<myArtFiles.length; j++)
            {
                var myArtName = myArtFiles[j].name;
                var myReplace = myArtName.replace(/\.eps/, "")
                var myFinalImageName = String(myReplace);
    
                if(myFinalContents.indexOf(myFinalImageName) != -1)
                {
                        _equFound[e].place(File(myArtFiles[j]));     //place the image
                        
                        
                        //NEED HELP FOR THE BELOW LINE
    //~                     File(myArtFiles[j]).select();
                        app.selection[0].anchoredObjectSettings.anchorYoffset = 10;    //Error found here
                    }
             }
      }
    

    Concerning

    Siraj

    Try this,

    //to get image path
    var myFilePath = app.activeDocument.filePath;
    var myLinksPath = myFilePath + "/" + "links";
    var myArtPath = File(myLinksPath);
    var myArtFiles = myArtPath.getFiles("*.eps");
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "<<<.+?>>>";
    var _equFound = app.activeDocument.findGrep();  
    
    for(e=0; e<_equFound.length; e++)
    {
        var _equ_Content = _equFound[e].contents;                         //1
        var myFinalContents = String(_equFound[e].contents).replace(/>>>/, "").replace(/<<
    

    Vandy

  • How to rotate the image

    How to rotate the image

    There are several ways to rotate an image in Photoshop.

    As mentioned above, using the Image menu allows you to rotate your entire canvas area. Go to Image > Rotation of Image and select either 180 °, 90 ° CW (clockwise), or 90 ° CCW (the clockwise direction).

    In the picture menu, you can also select arbitrary to indicate the exact amount that you want to rotate your image:

    You can also use free transform to rotate an image or an individual layer. Go in Edit > transform , then select Rotate. Use the handles that appear around your image to rotate. Note that this method may require you to resize your canvas size to include your entire image (to do this, you can use the Crop function).

    Feel free to answer all questions!

    See you soon,.

    Kendall

  • How to change the image of Composition "Featured News"?

    Hi all

    I seem to be unable to chane the images in the Muse's "Featured News" widget.

    I have no option to do this when I click on it.

    http://farm9.staticflickr.com/8306/7837135892_329d8e3301.jpg

    http://farm8.staticflickr.com/7131/7837135738_b57537c978.jpg

    Any ideas?

    Aaron G.

    If you are looking just to replace the existing picture of stock in the widget News featured (which is inserted as an included in a text block element) without affecting the flow of text and Wrap Panel settings, select the Inline element and replace the image through the active panel, using repeat the link. Doing anything else intact would leave everything keeping the dimensions of the Inline element as well.

    If the replaced image does not fill the width of the Inline element for a reason, simply double-click the Inline element to select the Image and drag it along the width while keeping the SHIFT key until it lines up on the grid element that contains (online).

    Thank you

    Vinayak

Maybe you are looking for