Tasker Integration: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:


== Events ==
== Events ==
Memento can serve as the source of these events for Tasker: '''Creation''', '''Update''', and '''Deletion''' of the entry. While processing these events, Tasker can access the values of fields in the entry as variables of type '''%field_name'''.
Memento can serve as the source of these events for Tasker: '''Create''', '''Update''', and '''Delete''' an entry. While processing these events, Tasker can access the values of fields in the entry as variables of type '''%field_name'''.


Steps to create an event:
Steps to create an event:

Revision as of 00:11, 30 December 2016

« Page as of 2016-12-29, editions Mobile 4.2.0, Desktop 1.0.7 »

Memento Database supports integration with the applications Tasker and Locale. Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer-driven home screen widgets.

You can create/edit Memento entries in response to specific events or changes in device status. For example, you can automatically save to libraries incoming SMS messages, information about calls, location history, and more.

Creating an entry

  1. You should have a library into which you plan to insert the events from Tasker.
  2. Go to Tasker and open the dialog for creating a new task.
  3. Select Plugin > Memento Database.
  4. Select Configuration, and then select the library.
  5. Add the values you want to enter in the fields of the new entry using variables from Tasker: http://tasker.dinglisch.net/userguide/en/variables.html

Updating an entry

  1. Follow the same steps as for creating an entry.
  2. Select the option "Edit Entry".
  3. Select the field that will be the key when editing entries. The values from Tasker will be entered into the entry where the value of the key field corresponds to the specified value. Variables from Tasker can be used as key fields.

All values coming into Memento, including key field values, must have the same format as for import of a CSV file.

Events

Memento can serve as the source of these events for Tasker: Create, Update, and Delete an entry. While processing these events, Tasker can access the values of fields in the entry as variables of type %field_name.

Steps to create an event:

  1. Start Tasker and open the dialogue to create a new event
  2. Select Plugin > Memento Database and the appropriate type of event
  3. Select Configuration and then the library

Events are generated only when the operations on the entries are done through the Memento front end. Events are not generated if the entries are changed via synchronization.