Article View: adobe.scripting.indesign
Article #18398Re: Need Help with Using Labels in Script
From: Jens Schulze
Date: Fri, 21 Mar 2003 07:14
Date: Fri, 21 Mar 2003 07:14
21 lines
1573 bytes
1573 bytes
"Stephen Field" wrote: > [...] > Select Case TypeName(myPageItem) > Case "TextFrame" > Select Label TypeName(myPageItem) > Label "screentext" > Rem Set the frame's corner effect > Rem (use one of the constants defined above) > myPageItem.CornerEffect = idRoundedCorner > Rem set the corner radius > myPageItem.CornerRadius = 12 > End Select > Next Why do you have two select statements, but closing only one? And why do you use select for something where the if statement would be better readable? BTW "select label" will not work I think, because "select case" is the right command as it has to be written. Jens
Technical Details
Message-ID:
<661C78DCD499B7DD5FCD0135A4943556@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8641e.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,498c886dd63b1cfe X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-20 23:37:34 PST From: "Jens Schulze" <news@trickbetrueger.org> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Need Help with Using Labels in Script Message-ID: <661C78DCD499B7DD5FCD0135A4943556@in.WebX.la2eafNXanI> Date: Thu, 20 Mar 2003 23:14:43 -0800 References: <1de8641e.-1@WebX.la2eafNXanI> Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit