]> git.r.bdr.sh - rbdr/captura/blob - Captura/Scripting/Captura.sdef
82cf06f28ca5b8d5a0daa3f13d3060a668aba95e
[rbdr/captura] / Captura / Scripting / Captura.sdef
1 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
2 <dictionary title="CapturaScripting">
3 <suite name="Captura Suite" code="CAPT" description="Controls Captura">
4 <class name="application" code="Capp" description="The application's top-level scripting object.">
5 <cocoa class="NSApplication"/>
6 <property name="preferences" code="Cprp" type="preferences" access="r">
7 <cocoa key="scriptedPreferences"/>
8 </property>
9 </class>
10 <class name="preferences" code="Cprf" description="The application preferences">
11 <cocoa class="ScriptedPreferences"/>
12 <property name="fps" code="Cpfp" type="integer" description="Sets the FPS of the recording" access="rw" />
13 <property name="outputs" code="Cpou" type="text" description="Which outputs get generated locally" access="rw" />
14 <property name="backend" code="Cpbk" type="file url" description="Updates the backend URL that will be used" access="rw" />
15 <property name="backend_output" code="Cpbo" type="text" description="Which output should be sent to the backend" access="rw" />
16 <property name="keep_local_files" code="Cplf" type="boolean" description="Whether to keep local files after a successful backend upload." access="rw"/>
17 </class>
18 <record-type code="CCRr" name="recording_configuration">
19 <property name="x" code="CCrx" type="integer" description="Sets the starting horizontal position of the recording frame from the left of the screen. Defaults to the center of the screen." />
20 <property name="y" code="CCry" type="integer" description="Sets the starting vertical position of the recording frame from the bottom of the screen. Defaults to the center of the screen." />
21 <property name="width" code="CCrw" type="integer" description="Sets the width of the recording frame. Defaults to 400" />
22 <property name="height" code="CCrh" type="integer" description="Sets the height of the recording frame. Defaults to 400" />
23 <property name="prevent_resize" code="CCRz" type="boolean" description="Prevents the recording frame from being resized. Defaults to false." />
24 <property name="prevent_move" code="CCRm" type="boolean" description="Prevents the recording frame from being moved. Defaults to false." />
25 <property name="fps" code="CCrf" type="integer" description="Sets the FPS of the recording" />
26 <property name="outputs" code="CCRo" type="text" description="Which outputs get generated locally" />
27 <property name="backend" code="CCRb" type="file url" description="Updates the backend URL that will be used" />
28 <property name="backend_output" code="CCRp" type="text" description="Which output should be sent to the backend" />
29 <property name="keep_local_files" code="CCRk" type="boolean" description="Whether to keep local files after a successful backend upload." />
30 <property name="auto_start" code="CCRa" type="boolean" description="Whether the recording session should start automatically or not. It takes 3 seconds to start." />
31 <property name="max_length" code="CCrl" type="integer" description="The max length for the recording in seconds, default and max is 300." />
32 </record-type>
33 <command name="start_recording" code="CCCMStRc">
34 <cocoa class="RecordCommand" />
35 <direct-parameter description="The settings to be configured">
36 <type type="recording_configuration" />
37 </direct-parameter>
38 </command>
39 </suite>
40 </dictionary>