๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15374

Get Story File Name

#15374
From: st_ge
Date: Mon, 01 Dec 2003 14:18
27 lines
1504 bytes
Hello,

I'm trying to retrieve the file name of the story in my InDesign document.
When I open my InDesign document with InCopy I successfully get the list of all my stories :

Dim myInCopy As InCopy.Application
    Set myInCopy = CreateObject("InCopy.Application")
    Set myPub = myInCopy.ActiveDocument
    Set myStories = myPub.Stories
    Dim myStoriesLength As Integer
    Dim storyName As String
    Dim ok As Boolean
    myStoriesLength = myStories.Count

For myloop = 1 To myStoriesLength
        Set myStory = myStories.Item(myloop)
         ok = myStory.CheckOut()
    Next

But how can I get the names of the files in which they are stored (i.e. Z-EMPTY-1.incd, Z-EmPTY-2.incd, ...)
There is no Link object with InCopy...

Does anyone knows how I can do it?

please...

St๏ฟฝphane George.
Technical Details
Message-ID: <2cceab75.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,5391fdf55d2bcfba,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-01 06:37:47 PST
From: st_ge@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Get Story File Name
Message-ID: <2cceab75.-1@webx.la2eafNXanI>
Date: Mon, 1 Dec 2003 06:18:02 -0800
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit