๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by PFD Tue, 06 Jan 2009 14:39
Persistent XML object?
#2214
Author: PFD
Date: Tue, 06 Jan 2009 14:39
11 lines
1663 bytes
I'm thinking of writing a script which will be called from a C++
plugin.  The script will be called repeatedly, and will update an XML
structure that will eventually be written to a file.

Is there some way to create a persistent XML structure that can be
passed to the script each time it's called from the plugin, and
modified by the script?  I know I could write the whole XML doc to a
file and read it back each time, but that seems too expensive.

Thanks,
-pd
Re: Persistent XML object?
#2226
Author: PFD
Date: Tue, 06 Jan 2009 22:03
18 lines
2024 bytes
On Jan 6, 9:39ย am, PFD <pdavis.pagef...@gmail.com> wrote:
> I'm thinking of writing a script which will be called from a C++
> plugin. ย The script will be called repeatedly, and will update an XML
> structure that will eventually be written to a file.
>
> Is there some way to create a persistent XML structure that can be
> passed to the script each time it's called from the plugin, and
> modified by the script? ย I know I could write the whole XML doc to a
> file and read it back each time, but that seems too expensive.

Well, it appears that I can do this as simply as invoking the session
engine with

#targetengine "session"

and that I can even create my own persistent engine with

#targetengine "whatevernameiwant"
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