🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18307

AppleScripting File Info

#18307
From: Manuel Alvarez C.
Date: Sat, 05 Apr 2003 18:07
30 lines
1673 bytes
Hi all,

I'm trying to insert data into a documents "File Info" panel. I suppose I do that through the metadata preference class, yet I can't get it to work. I've tried this:

tell app "InDesign"
set myDocument to make new document
set title of metadata preference to "Whatever"
end tell

I've also tried:

tell app "InDesign"
set title of metadata preference to "Whatever"
set myDocument to make new document
end tell

also:

tell app "InDesign"
set myDocument to make new document
set title of metadata preference to "Hello"
end tell

To no avail! I need to insert a title because I create new documents and Export them to pdf and I want to insert a "Title" in the document so when my PDF rips the name appears.

The only way I've found to do this is to actually save the InDesign document, then export as PDF. Yet this seems unnecessary.

Thanks,

Manuel
Technical Details
Message-ID: <1de89cb4.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,366d90f029c5e414
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-05 10:37:36 PST
From: "Manuel Alvarez C." <malvarez@codetel.net.do>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AppleScripting File Info
Message-ID: <1de89cb4.-1@WebX.la2eafNXanI>
Date: Sat, 5 Apr 2003 10:07:29 -0800
Lines: 35
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit