🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8191

Re: Calendar Wizard.0.9 script Error

#8191
From: HBAquaman
Date: Fri, 03 Nov 2006 17:28
40 lines
2614 bytes
Sure thing,
Also, here is the link to the calendar as well;
 <http://www.adobe.com/cfusion/exchange/#loc=en_us&view=sn1010&viewName=InDesign%20Exchange>

try{ paragraphStyles.item("cellText").name; }
      catch (myError){
      paragraphStyles.add({name:"cellText", basedOn:paragraphStyles.item("base") });
      }
      try{ paragraphStyles.item("date").name; }
      catch (myError){
         paragraphStyles.add({name:"date", basedOn:paragraphStyles.item("base"),
                              justification:Justification.rightAlign,
                              nextStyle:paragraphStyles.item("cellText") });
      }
      try{ paragraphStyles.item("date2").name; }
      catch (myError){
         paragraphStyles.add({name:"date2", basedOn:paragraphStyles.item("date"),
                              justification:Justification.leftAlign,
                              nextStyle:paragraphStyles.item("cellText") });
      }
      try{ paragraphStyles.item("holiday").name; }
      catch (myError){
         paragraphStyles.add({name:"holiday", basedOn:paragraphStyles.item("cellText"),
                              justification:Justification.centerAlign,
                              pointSize:10,
                              fontStyle:"Italic",
                              fillColor:colors.item("Holiday") });
      }
      if( bAddCompact == 1 )
      {
         try{ paragraphStyles.item("baseCompact").name; }
         catch (myError){
            paragraphStyles.add({name:"baseCompact", basedOn:paragraphStyles.item("base"),
                                 pointSize:5});
         }
         try{ paragraphStyles.item("titleCompact").name; }
         catch (myError){
            paragraphStyles.add({name:"titleCompact", basedOn:paragraphStyles.item("baseCompact"),
                                 justification:Justification.centerAlign,
                                 capitalization:Capitalization.smallCaps });
Technical Details
Message-ID: <3bc2171a.6@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing
References: <3bc2171a.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,eb108efe13755fd6,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: HBAquaman@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Calendar Wizard.0.9 script Error
Message-ID: <3bc2171a.6@webcrossing.la2eafNXanI>
Date: Fri, 3 Nov 2006 09:28:03 -0800
References: <3bc2171a.-1@webcrossing.la2eafNXanI>
Lines: 51
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit