🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8837

Re: Creating graphicLine --- I can not find the catch

#8837
From: mihak
Date: Sun, 24 Sep 2006 18:16
11 lines
1048 bytes
myPage =app.activeWindow.activePage;
myNewGraphicLine=myPage.graphicLines.add();
myNewGraphicLine.paths[0].entirePath=[[[10,10],[100,30],[40,30]],[[100,80],[60,70],[50,90]]];
myNewGraphicLine.strokeColor="Black";

Error number:19
Error String: "Bad argument strokeColor"

I am using CS, not CS2. Might this be a problem?

Miha
Technical Details
Message-ID: <3bc1c21d.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
References: <3bc1c21d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,cf4dc3b18592a3d1
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: mihak@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Creating graphicLine  ---  I can not find the catch
Message-ID: <3bc1c21d.3@webcrossing.la2eafNXanI>
Date: Sun, 24 Sep 2006 11:16:30 -0700
References: <3bc1c21d.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit