Hello Hussein, Is there a method of available for simply writing the output of a macro to the clipboard?
Many of the ditamaps I work with are immense, and I don't want to load the whole document set view just to create a single xref to a resource within a DITA topic, so I would like to write a command that will take whatever element is currently selected, assuming it has an ID, and write either a completed xref element or at least the href value for it to the clipboard so that I can paste it in at my preferred location. Should this be possible? I can find no reference to "copying to the clipboard" in the commands.pdf document, and simply stopping an existing command that copies, processes, and pastes content before the "paste" command is run does not seem to leave what would have been pasted sitting on the clipboard. Thanks, Jeff.
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

