Difference between revisions of "XML Script"

From OCAD Wiki - English
Jump to navigation Jump to search
Line 41: Line 41:
 
{| border="1"
 
{| border="1"
 
|- class="hintergrundfarbe5"
 
|- class="hintergrundfarbe5"
! style="width:20em" | 2
+
!style="width:15%;"| Node <OcadScript !! style="width:30%;" | Parameter
! style="width:20em" | 10
+
!style="width:15%;"| Data type !! class="unsortable" style="width:40%;" | Values / Description
! style="width:20em" | 20
 
 
|-
 
|-
 
| A
 
| A

Revision as of 14:01, 4 October 2011

(This function is only available in OCAD Professional!)

Choose this command to execute functions whose settings are defined in a XML file.

http://www.ocad.com/Whitepaper/Ocad10_Xml_Script_Specification.pdf

Example of XML script file:

<ocadScript>
<exportScript>
<export id="3">
<file>c:\export\exportfile.bmp</file>
<format>BMP</format>
<resolution>300</resolution>
<anti-alias>true</anti-alias>
<colorCorrection>true</colorCorrection>
<partialMap>
<enabled>false</enabled>
</partialMap>
<tiles>
<enabled>true</enabled>
<width>500</width>
<height>500</height>
</tiles>
</export>
</exportScript>
</ocadScript>



1. Introduction

Select Execute XML Script from File menu.


==2. XML Script General

File

Node <OcadScript Parameter Data type Values / Description
A B C


Previous Chapter: Chapter 17: Database

Next Chapter: Chapter 19: Course Settings for Orienteering

Back to Help:Contents