Ian Laurenson wrote:
2. For changing the document, an approach might be, for each call to the common scripting routine: * The file gets saved (temporary file?) * The file location gets passed to the script * The script manipulates the file contents, using common library routines (I am aware of such routines in Perl) * I think that the cursor location is included as part of the open document standard, so this too could be changed by the script * The revised file is saved on exit * Reload the file
How would you implement the virtual keyboard macro with that approach? Or the reveal codes macro?
I can see how your suggestion could cover a subset of macros though (e.g. Danny's drawing tools). And having a stand-alone Python library for manipulating OD files is a great idea.
Maybe we'll just have to accept that a stand-alone library is as good as one can get.
Cheers, Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
