🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9695

Re: Select filename for EPS export (JS)

#9695
From: John_Kordas
Date: Thu, 20 Jul 2006 23:41
19 lines
891 bytes
Found it,

Just had to change:

myFile = app.activeDocument.rectangles.item;

to

myFile = app.documents[0].links[0];

and

staticTexts.add({staticLabel:myFile.path + "/"});

to

staticTexts.add({staticLabel:myFile.filePath + "/"});

All works now.
Technical Details
Message-ID: <3bc0f93e.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0f93e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2098e96800d90d37
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_Kordas@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Select filename for EPS export (JS)
Message-ID: <3bc0f93e.0@webcrossing.la2eafNXanI>
Date: Thu, 20 Jul 2006 16:41:05 -0700
References: <3bc0f93e.-1@webcrossing.la2eafNXanI>
Lines: 19
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.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing