Article View: adobe.photoshop.scripting
Article #427including rather complex path objects in javascript
From: christoph_pfaffenbichler
Date: Wed, 28 Jan 2009 13:20
Date: Wed, 28 Jan 2009 13:20
6 lines
1653 bytes
1653 bytes
When passing data-CDs or -DVDs on to customers I like to provide a cover containing a screenshot of the content in list-form (so that the change-dates can be verified) with background, logo, date and some graphic elements added. Which works fine as an Action (with some small Scripts recorded in). But what with Configurator�s capability to include Scripts I would like to move the whole thing into JavaScript so as to be able to pass a Configurator-Panel on to colleagues without them having to install separate Actions as well. Therefore I�m looking for a way to include the generation of a relatively complex path (several hundred points, multiple subPathItems) for an illustrative logo-element in the Script. I may be trying to use the less fitting mechanism in looking for a way to do with a Script what an Action can achieve so effortlessly with �Insert Path�, but could any of You tell me a way to get all the necessary info from an existing path into Script-form? Or would You advise me to simply desist from the intention for Script-length-reasons/other considerations?
Technical Details
Message-ID:
<59b7b570.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,fe937c096bbabbdd,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: christoph_pfaffenbichler@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: including rather complex path objects in javascript Message-ID: <59b7b570.-1@webcrossing.la2eafNXanI> Date: Wed, 28 Jan 2009 05:20:26 -0800 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit