Article View: adobe.scripting.indesign
Article #16636Need help to make a template with RGB blending, auto page numbers...
From: Kelly Vaughn
Date: Thu, 21 Aug 2003 18:05
Date: Thu, 21 Aug 2003 18:05
35 lines
2207 bytes
2207 bytes
I am trying to create a script that, when run, will create a 7 x 11-inch document with two pages, 1 page per spread, margins/cloumns, transparency blend space of RGB, a MMYY date box, an auto page number. The last 2 items I would like to have on a master page in the lower left and right corners, respectively.
So far, I've got everything but the blendng space, MMYY, the auto page number. I can figure out how to get format the text, but I just know how to get it there in the first place. Any help would be appreciated.
--Set application defaults,then create a new document.
tell application "InDesign 2.0.2"
set myViewPreferences to view preferences
tell myViewPreferences
set horizontal measurement units to inches
set vertical measurement units to inches
end tell
set myDocPrefs to document preferences
tell myDocPrefs
set pages per document to 2
set page orientation to landscape
set page height to 7
set page width to 11
end tell
set myMarginPrefs to margin preferences
tell myMarginPrefs
set column count to 3
set column gutter to 0.25
set margin top to 1
set margin bottom to 0.25
set margin left to 0.25
set margin right to 0.9375
end tell
set myDocument to make document
tell myDocument
set properties of document preferences to �
{pages per spread:1}
set blending space of myDocument to rgb
end tell
end tell
Technical Details
Message-ID:
<2ccd043d.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,8fe70470934c4a0d,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-08-21 11:09:13 PST From: "Kelly Vaughn" <kvaughn@activmanuals.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!cyclone.bc.net!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Need help to make a template with RGB blending, auto page numbers... Message-ID: <2ccd043d.-1@webx.la2eafNXanI> Date: Thu, 21 Aug 2003 11:05:55 -0700 Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit