Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

How to identifying images space? [RGB/CMYK]

$
0
0

Hi,

 

Could you please any one help me, how to identify image space [RGB /CMYK] of links in InDesign CS5.5.

Is it possible? or We need to use bridge only?

 

I tried b/m code, but i got "Error: A value is not available for this type of image" message

 

 

var myLinks = app.activeDocument.links;

try{

for ( i = 0; i < myLinks.length; i++ )  {

    var link = myLinks[i];

    if (link.status == LinkStatus.NORMAL) {

        var image = link.parent;

        alert(image.space);

        }

    }

}

catch(e){

alert(e);

}

 

 

--

Thanks in advance,

Bala


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>