I want to create xml file using photoshop script

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

sasientry

I want to create xml file using photoshop script

Post by sasientry »

Hi,



Please help me for this.



I need to create XML file for mentioned below. when i run the photoshop script i need deatails for active document name, date, time and status.



<?xml version="1.0" encoding="UTF-8"?>

<sample>

<filename>Cradboard_Boxes_Small.tif</filename>

<date>today date</date>

<starttime>now</starttime>

<status>delivered</status>

</sample>



<sample>

<filename>Cardboard_Boxes_Student_Vaue_Pack.jpg</filename>

<date>today date</date>

<starttime>now</starttime>

<status>delivered</status>

</sample>





I need read that xml after creating and modify based on file name. i need to modify status after file finished.

if the file name is already exist i want to modify or delete or add whatever i need.



Kindly help me simple way
csuebele

I want to create xml file using photoshop script

Post by csuebele »

Using XML in extendscript is outlined in the Javascript tools guide. While it's not that hard to do, you do need this reference to build and access your xml correctly.

http://download.macromedia.com/pub/deve ... ide-CC.pdf ... ide-CC.pdf