Sorry!!
I exported the Tasker Action as a description.
I need to filter Google Calendar events based on the title using an
input variable (even if only partially matching it). Then I'd like to
select the desired event and enter its content (day, time, and
description) into a message to send to a WhatsApp. The code ends with
copying the message to the clipboard. That's enough for me.
Here is the task code:
Attività: Event2WA
A1: Variabile Query [
Titolo: Patient
Variabile: %TitleFilter
Tipo di Inserimento: Testo Normale
Layout: Variable Query
Timeout (Secondi): 104
Mostra Sul Bloccaschermo: On ]
A2: Aggiungi Variabile [
Nome: %EndTime
Valore: %TIMES + 5184000
Riavvolgere: 0 ]
A3: Ottieni Eventi Calendario [
Calendario: Google:Famiglia
Ora di Inizio: %TIMES
Ora di Fine: %EndTime
Titolo: %TitleFilter ]
A4: If [ %ce_title(#) = 0 ]
A5: Flash [
Testo: No Events found
Lungo: On
Ignora al Click: On ]
A6: End If
A7: Finestra Elenco [
Modalità: Select Single Item
Titolo: Select Events
Oggetti: %ce_title(#)
Chiudi Dopo (Secondi): 30
Primo Indice Visibile: 1 ]
A8: Cerca Variabile e Sostituisci [
Variabile: %ce_title
Ricerca: %ld_selected_index
Salva Risultato In: %Index ]
A9: Analizza/Formatta DataOra [
Tipo di Inserimento: Secondi dall'Epoca
Input: %ce_start_time(%Index)
Formato di Output: dd/MM/yyyy HH:mm
Tipo Offset di Output: Nessuno ]
A10: Imposta Variabile [
Nome: %EventDescription
A: %ce_description(%Index)
Struttura Output (JSON, ecc): On ]
A11: Imposta Variabile [
Nome: %Message
A: "Prossimo appuntamento: *" + %EventDate + "*"
Struttura Output (JSON, ecc): On ]
A12: Imposta Appunti [
Testo: %Message ]
Unfortunately, the commands are in Italian!
Thank you very much,
Best Regards,
Pierpaolo