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