Tasker Integration: Difference between revisions

From Memento Database Wiki
Jump to navigation Jump to search
(Created page with "{{Stamp|2016-09-13|4.0.0|1.0.5}} Memento Database поддерживает интеграцию с приложениями [http://tasker.dinglisch.net/ Tasker] и [http://ww...")
 
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stamp|2016-09-13|4.0.0|1.0.5}}
{{Stamp|2023-08-12|5.0|2.0}}
Memento Database поддерживает интеграцию с приложениями [http://tasker.dinglisch.net/ Tasker] и [http://www.twofortyfouram.com/ Locale].
{{BannerMenu}}
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 home screen widgets.
{{PageTitle| Android automation<br/>Tasker integration}}


Вы можете создавать/редактировать записи Memento в качестве реакции на определенные события или изменения состояния устройства.
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.
# У вас уже должна быть создана библиотека в которую вы будете записывать события из Tasker-а.
# Перейдите в Tasker и откройте диалог создания новой задачи.
# Выберите Plugin > Memento Database.
# Выберите Configuration, а затем выберите библиотеку.
# Добавьте  значения которые будут записаны в поля новой записи. Вы можете использовать переменные из Tasker-а : http://tasker.dinglisch.net/userguide/en/variables.html


== Настройка задачи изменения записи ==
== Creating an entry ==
# Выполните такие же действия как и для задачи создания записи.  
# You should have a library into which you plan to insert the events from Tasker.
# Включите опцию “Редактировать запись”.  
# Go to Tasker and open the dialog for creating a new task.
# Выберите поле которое будет являться ключевым при редактировании записи. Значения из Tasker-а будут записываться в записи, значение ключевого поле которых соответствует указанному значению. В качестве значения ключевого поля можно использовать переменные из Tasker.  
# Select Plugin > Memento Database.
# Select Configuration, and then select the library.
# 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


Все значения передаваемые в Memento и значение ключевого поля, должны иметь тот же самый формат как и при [[Importing and exporting CSV files|импорте из csv]].
== Updating an entry ==
# Follow the same steps as for creating an entry.
# Select the option "Edit Entry".
# 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:
# Start Tasker and open the dialogue to create a new event
# Select '''Plugin''' > '''Memento Database''' and the appropriate type of event
# 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.
 
[[Category:How]]

Latest revision as of 19:32, 13 August 2023

« Page as of 2023-08-12, editions Mobile 5.0, Desktop 2.0 »

Wiki
Home
About
Wiki | Memento
Getting started
Wiki | Memento
Indexes
Mobile | Desktop | Scripting
Support
Wiki | Memento
 Android automation
Tasker integration

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.