I'm trying to use XXE.saveAs in a command macro and it's failing for
some reason. Can anyone see what I'm doing wrong here?
 
<command name="createNewFile">

<macro>

<sequence>

<command name="pick" parameter="'Choose the type of DITA file to create'
true 'Concept' 'dita_concept_template.xml' 'Reference'
'dita_reference_template.xml' 'Task' 'dita_task_template.xml' 'Wrapper
(multi-topic) ' 'ditabase_template.xml'"/>

<set variable="templateName" expression="%_" plainString="true"/>

<get expression="$templateName"/>

<command name="alert" parameter="%_"/>

<get expression="$templateName"/>

<command name="XXE.openCopy" parameter="file:///c:/program
files/xmlmind_xml_editor/addon/config/dita/template/%_"/>

<command name="alert" parameter="pre-save"/>

<command name="XXE.saveAs"/>

<command name="alert" parameter="post-save"/>

</sequence>
 
</macro>
 
</command>
 
 
When I run this, it only gets to the "pre-save" alert. The "Save File"
dialog never appears and processing stops. The file that is opened
during XXE.openCopy is valid, so no problems there. 
 
 

Mark Fletcher

Workday(tm)

www.workday.com <http://www.workday.com/> 

925-951-9053 (office)

mark.fletcher at workday.com

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060324/7f50dfd6/attachment.htm
 

Reply via email to