Article View: adobe.photoshop.scripting
Article #360xbytor ActionFileToXML.jsx error
From: Rich_Pearson
Date: Thu, 26 Feb 2009 21:39
Date: Thu, 26 Feb 2009 21:39
58 lines
4551 bytes
4551 bytes
Following on from this post <http://www.adobeforums.com/webx/.59b7b7d3> the xml that is generated will not validate. The output is below, thougth i have cut a lot out. Can anyone help me out? <ActionFile key="1Pembrokeshire%20Web%20Solutions%20Wedding%20&%20Portrait%20Actions.atn" file="/c/Program%20Files/Adobe/Adobe%20Photoshop%20CS4/Presets/Actions/1Pembrokeshire%20Web%20Solutions%20Wedding%20&%20Portrait%20Actions.atn"> <ActionSet version="16" name="PRO DESIGN UK Wedding & Portrait Actions" expanded="false" count="765"> <Action key="1" name="READ ME" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="0" identifier="TEXT" event="stop" name="Stop" hasDescriptor="true"> <ActionDescriptor key="stop" count="1"> <DescValueType.STRINGTYPE key="1299408741" id="1299408741" symname="Message" sym="Msge" string="PRO DESIGN UK USES THE FOLLOWING TRADEMARKS TO DESIGN & DISTRIBUTE THESE ACTIONS: MY -- ACTIONS COPYRIGHT 2009"> </DescValueType.STRINGTYPE> </ActionDescriptor> </ActionItem> </Action> <Action key="2" name="-------------------------------" colorIndex="7" expanded="false" count="0"> </Action> <Action key="3" name="**PRO DESIGN UK GENERAL TOOLS **" colorIndex="2" expanded="false" count="0"> </Action> <Action key="4" name="-------------------------------" colorIndex="7" expanded="false" count="0"> </Action> <Action key="5" name="Revert Back To Original" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="0" identifier="TEXT" event="revert" name="Revert" hasDescriptor="false"> </ActionItem> </Action> <Action key="6" name="|-001-| Copy Selection" colorIndex="5" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="2" identifier="TEXT" event="copyEvent" name="Copy" hasDescriptor="false"> </ActionItem> </Action> <Action key="7" name="|-002-| Paste" colorIndex="5" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="2" identifier="TEXT" event="paste" name="Paste" hasDescriptor="true"> <ActionDescriptor key="paste" count="1"> <DescValueType.ENUMERATEDTYPE key="1097757761" id="1097757761" symname="AntiAliasedPICTAcquire" sym="AntA" enumeratedTypeString="AntiAlias" enumeratedType="Annt" enumeratedValueString="AntiAliasNone" enumeratedValue="Anno"> </DescValueType.ENUMERATEDTYPE> </ActionDescriptor> </ActionItem> </Action> <Action key="8" name="|-003-| Select All" colorIndex="5" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="2" identifier="TEXT" event="set" name="Set" hasDescriptor="true"> <ActionDescriptor key="set" count="2"> <DescValueType.REFERENCETYPE key="1853189228" id="1853189228" symname="Null" sym="null"> <ActionReference key="1853189228" id="1853189228" symname="Null" sym="null" count="1"> <ReferenceFormType.PROPERTY key="1130917484" id="1130917484" symname="Channel" sym="Chnl" desiredClassString="Channel" desiredClass="Chnl" property="1718838636" propertyName="selection" propertySym="selection"> </ReferenceFormType.PROPERTY> </ActionReference> </DescValueType.REFERENCETYPE> <DescValueType.ENUMERATEDTYPE key="1411391520" id="1411391520" symname="To" sym="T " enumeratedTypeString="Ordinal" enumeratedType="Ordn" enumeratedValueString="All" enumeratedValue="Al "> </DescValueType.ENUMERATEDTYPE> </ActionDescriptor> </ActionItem> </Action> <Action key="9" name="|-004-| Paste into selection" colorIndex="5" expanded="false" count="1"> <ActionItem key="TEXT" expanded="false" enabled="true" withDialog="true" dialogOptions="2" identifier="TEXT" event="pasteInto" name="Paste Into" hasDescriptor="true"> <ActionDescriptor key="pasteInto" count="1"> <DescValueType.ENUMERATEDTYPE key="1097757761" id="1097757761" symname="AntiAliasedPICTAcquire" sym="
Technical Details
Message-ID:
<59b80fa2.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,4bd3211f0bdf749e,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rich_Pearson@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: xbytor ActionFileToXML.jsx error Message-ID: <59b80fa2.-1@webcrossing.la2eafNXanI> Date: Thu, 26 Feb 2009 13:39:28 -0800 Lines: 96 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit