Article View: adobe.scripting.indesign
Article #17929Applying stroke actions (AS)
From: Liz Durnall
Date: Thu, 08 May 2003 10:23
Date: Thu, 08 May 2003 10:23
17 lines
1326 bytes
1326 bytes
Hi,
I am trying to set a rectangle frame, which has been selected, to have a stroke. I have an example of creating a new rectangle with stroke etc but I can't seem to get the stroke to alter a selected rectangle. Is this possible??
This is am example of the script I am currently writing:
tell application "InDesign 2.0.2"
activate
set myDoc to active document
tell myDoc
set mySel to selection
tell mySel
set stroke weight to {0.5}
set stroke color to {swatch "Black" of myDoc}
set stroke type to {solid}
end tell
end tell
end tell
I hope this all makes sense, thanks for any help,
Liz
Technical Details
Message-ID:
<1de90b3e.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!nntp.infostrada.it!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,3810593e99c5a15a,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-08 03:38:08 PST From: "Liz Durnall" <elizabeth.durnall@littlewoods.co.uk> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Applying stroke actions (AS) Message-ID: <1de90b3e.-1@WebX.la2eafNXanI> Date: Thu, 8 May 2003 03:23:08 -0700 Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit