1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
5 This file is part of LyX, the document processor.
6 Licence details can be found in the file COPYING.
8 author: Benjamin Piwowarski
10 Full author contact details are available in file CREDITS.
15 <!-- declare the namespace for using XInclude so we can include the standard suite -->
16 <dictionary xmlns:xi="http://www.w3.org/2003/XInclude">
19 <!-- use XInclude to include the standard suite -->
20 <!-- <xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)"/> -->
23 <!-- our special scripting suite for this example -->
24 <suite name="Lyx" code="LYX " description="LyX scripting facilities.">
26 <record-type name="LyX return value" code="LyxR">
27 <property name="code" code="code" type="integer"
28 description="Error code (0 in case of success).">
31 <property name="message" code="mess" type="text"
32 description="The returned message.">
33 <cocoa key="message"/>
37 <command name="run" code="SLyxComm" description="run a simple command with one parameter">
38 <cocoa class="LyxCommand"/>
40 <direct-parameter description="The command to be executed.">
41 <type type="text" list="no"/>
44 <parameter name="with argument" code="args" type="text">
48 <result type="LyX return value" description="Contains a code (0 for success) and the message returned by LyX"/>