Article View: adobe.scripting.indesign
Article #9507Re: How to place image into text frame??
From: Andreas_Jansson
Date: Wed, 16 Aug 2006 08:48
Date: Wed, 16 Aug 2006 08:48
19 lines
2187 bytes
2187 bytes
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2>Make sure that the file exists in the expected
path:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2>Try this line of code:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2>alert(File('cover.tif').fsName)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2>And look in the directory that show up, to see if your file
really exists there.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=153104708-16082006><FONT face=Verdana
color=#0000ff size=2>// Andreas</FONT></SPAN></DIV>
Technical Details
Message-ID:
<000701c6c110$bb4c5fe0$f901a8c0@anxious.anx>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc14736.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3e466ed8bfbecf32 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Andreas_Jansson@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: How to place image into text frame?? Message-ID: <000701c6c110$bb4c5fe0$f901a8c0@anxious.anx> Date: Wed, 16 Aug 2006 01:48:23 -0700 References: <3bc14736.-1@webcrossing.la2eafNXanI> Lines: 29 Received: from mail1.anxious.se [213.115.129.69] by adobeforums.com; Wed, 16 Aug 2006 01:48:21 -0700 Received: from andreasjansson [192.168.1.249] by mail1.anxious.se with ESMTP (SMTPD32-8.05) id AC77ABB0076; Wed, 16 Aug 2006 10:51:03 +0200 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbBECFc2g+3w5ViSfKEZJ1P9cJFcgAAG5fw MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing