Article View: adobe.scripting.indesign
Article #19993Converting PM 6.5 Script to ID 2.0
From: Vincent Macaluso
Date: Mon, 11 Nov 2002 19:20
Date: Mon, 11 Nov 2002 19:20
52 lines
2120 bytes
2120 bytes
Is there a scripting manual available anywhere? I need to convert/rewrite the following PageMaker script: -- LSU Business Card Generator -- by Vincent Macaluso 1/02 -- Sets up single business card to 10up format, centered on page. message "If you ran this script with nothing already selected, it will now 'Select All' before continuing. If this is not what you wanted, oh well." --Is anything selected already? getPMState >> pmState --if nothing is selected, select all. if pmState=2 selectAll endif --now copy it to the clipboard and open a new page. copy new 1 -- set pagesize to letter, set our margins and 10up grid pagesize 8.5i, 11i pageoptions off, off pagemargins .75i, .5i, .75i, .5i zeropoint 1.149i, .93i guidehoriz 0i guidehoriz 2i guidehoriz 4i guidehoriz 6i guidehoriz 8i guidehoriz 10i guidevert 0i guidevert 3.5i guidevert 7i --paste our top row. 2 cards, 3.5 inches apart. multiplepaste 2,3.5i,0i --select the top row, and copy it 2 inches downwards 4 times. selectAll copy multiplepaste 4,0i,2i --we cant have it all off-center and stuff, now can we? --select all ten cards and move them flush with the top left --corner formed by our guidelines. selectAll move left, guide 1 move top, guide 1 -- end of script
Technical Details
Message-ID:
<1de68c0a.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ee4c9e7edd2bcb69,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-11 11:42:06 PST From: "Vincent Macaluso" <nolageek@yahoo.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Converting PM 6.5 Script to ID 2.0 Message-ID: <1de68c0a.-1@WebX.la2eafNXanI> Date: Mon, 11 Nov 2002 11:20:33 -0800 Lines: 54 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit