Triggers: Difference between revisions

126 bytes added ,  20 September 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
'''''[[This page is incomplete, incorrect, in the midst of translation, and under development.]]'''''
'''''[[This page is incomplete, incorrect, in the midst of translation, and under development.]]'''''


A Trigger is a script that is triggered by certain actions or events. As a scripting language used by JavaScript, the script may change or create a recording, perform an http-request, create a file, validate data, and more.
A Trigger is a script that initiates certain actions or events. Trigger scripts are written in [https://developer.mozilla.org/en-US/docs/web/JavaScript JavaScript]. When a trigger script is executed, it may change an existing entry, create a new entry, execute an http request, create a file, perform data validation, etc.


== Creating a trigger ==
== Creating a trigger ==
Each library can have multiple triggers. To open the list of triggers, go to the library, open the menu, and then click ''Triggers''.
Each library can have any number of triggers. To see the list of triggers, open the library, open the menu, and then select ''Triggers''.


To create a trigger, open the library's list of triggers and click <big>'''+'''</big>. You must then select the start time and write a trigger script realizing your needs.
To create a trigger, open the library's list of triggers and click <big>'''+'''</big>. You must then define the event and write a trigger script that performs the necessary action.


== Since the launch of the trigger ==
== Event that initiates execution of the trigger ==
The launch of the trigger is defined by two parameters:
The launch of the trigger is defined by two parameters:
; Act
; Act