Article View: adobe.scripting.indesign
Article #10118Re: AS -- Checking Contents on Layers
From: poojayadav
Date: Thu, 06 Jul 2006 05:45
Date: Thu, 06 Jul 2006 05:45
17 lines
1290 bytes
1290 bytes
Hi Eric,
Thanks a lot. I want to check only no text frame should lie on GrapLayer and not graphics should lie on TxtLayer. If any graphic present on TxtLayer it shows a dialog that "Graphics not proper placed" else dialog shows "garphics are ok".
And same for the text frame. If any text frame exist on GrapLayer it shws dialog "Text Frame not proper placed" else dialog will show "Text Frames are ok".
That's it.
I try to compile your script but at the run time it show the followin error at the below code:
===code===
if (count every item of textOnGraphLayer > 0) then
===error===
Can't make {} into type number, date or text.
Thanks
Pooja
Technical Details
Message-ID:
<3bc0cfde.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc0cfde.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2ca5f3a3806465c X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: poojayadav@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: AS -- Checking Contents on Layers Message-ID: <3bc0cfde.3@webcrossing.la2eafNXanI> Date: Wed, 5 Jul 2006 22:45:15 -0700 References: <3bc0cfde.-1@webcrossing.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing