]> git.r.bdr.sh - rbdr/captura/blob - Captura/Scripting/Captura.sdef
ca49d17015d1b4d3f0a79b8865be8fa3b7c0a252
[rbdr/captura] / Captura / Scripting / Captura.sdef
1 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
2 <dictionary title="Captura Terminology">
3 <suite name="Standard Suite" code="CStd" description="Common classes and commands for all applications.">
4 <command name="quit" code="aevtquit" description="Quit the application.">
5 <cocoa class="NSQuitCommand"/>
6 </command>
7 </suite>
8 <suite name="Captura Suite" code="CAPT" description="Controls Captura">
9 <class name="application" code="capp" description="The application's top-level scripting object.">
10 <cocoa class="CapturaApp"/>
11 <property name="preferences" code="pPrp" type="preferences" access="r">
12 <cocoa key="scriptedPreferences"/>
13 </property>
14 </class>
15 <class name="preferences" code="Cprf" description="The application preferences">
16 <cocoa class="ScriptedPreferences"/>
17 <property name="fps" code="pPfp" type="integer" description="Sets the FPS of the recording" access="rw" />
18 <property name="outputs" code="pPou" type="text" description="Which outputs get generated locally" access="rw" />
19 <property name="backend" code="pPbk" type="text" description="Updates the backend URL that will be used" access="rw" />
20 <property name="backend_output" code="pPbo" type="text" description="Which output should be sent to the backend" access="rw" />
21 <property name="keep_local_files" code="pPlf" type="boolean" description="Whether to keep local files after a successful backend upload." access="rw"/>
22 </class>
23 <record-type code="CCRr" name="recording_configuration">
24 <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." />
25 <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." />
26 <property name="width" code="CCrw" type="integer" description="Sets the width of the recording frame. Defaults to 400" />
27 <property name="height" code="CCrh" type="integer" description="Sets the height of the recording frame. Defaults to 400" />
28 <property name="prevent_resize" code="CCRz" type="boolean" description="Prevents the recording frame from being resized. Defaults to false." />
29 <property name="prevent_move" code="CCRm" type="boolean" description="Prevents the recording frame from being moved. Defaults to false." />
30 <property name="fps" code="CCrf" type="integer" description="Sets the FPS of the recording" />
31 <property name="outputs" code="CCRo" type="text" description="Which outputs get generated locally" />
32 <property name="backend" code="CCRb" type="text" description="Updates the backend URL that will be used" />
33 <property name="backend_output" code="CCRp" type="text" description="Which output should be sent to the backend" />
34 <property name="keep_local_files" code="CCRk" type="boolean" description="Whether to keep local files after a successful backend upload." />
35 <property name="auto_start" code="CCRa" type="boolean" description="Whether the recording session should start automatically or not. It takes 3 seconds to start." />
36 <property name="max_length" code="CCrl" type="integer" description="The max length for the recording in seconds, default and max is 300." />
37 </record-type>
38 <command name="start_recording" code="CCCMStRc">
39 <cocoa class="RecordCommand" />
40 <direct-parameter description="The settings to be configured">
41 <type type="recording_configuration" />
42 </direct-parameter>
43 </command>
44 </suite>
45 </dictionary>