🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.incopy.scripting
2 messages
2 total messages Started by chintan_desai Wed, 24 Dec 2008 09:57
Need initial pointers about InCopy scriping -
#49
Author: chintan_desai
Date: Wed, 24 Dec 2008 09:57
16 lines
1159 bytes
Hi,

I have a client who has stored thousands of InCopy documents with valid styles applied to segments of it.

Now my requirement is to create a template which has XML tag -> Style mapping.

Considering that template, I am suppose to open all the InCopy documents, apply that Tag -> Style mapping to it and then convert all of them to XML and persist the data in DB.

Is there a programmatic way as to apply XML tags to a document based on the styles used?

Please educate. I am a complete newbie to InCopy - so please bare with my questions,

Thank you, Appreciate your help.

Regards,
Chintan
Re: Need initial pointers about InCopy scriping -
#50
Author: chintan_desai
Date: Fri, 26 Dec 2008 05:23
17 lines
1191 bytes
Hi Friends,

I visited the site thoroughly and got to learn something about Adobe InCopy scripting with Java Script.

I am able to do some simple stuff like - storing icml documents as xml based on the style names.

My further requirements are -

1. Write an event listener which would be triggered when document is saved and automatically it saves it as xml.
2. Write a js - which would load files from a directory one by one and run the above script on each of them one by one. (Like open 1 file, save it & close it)

Please guide,

Thank you,

Regards,
Chintan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads