STEP 1 - CREATE TOUCHLESS CHAT PROFILE
- In Tasker, create a new profile
- Set the Event->Plugin->Touchless Chat->Message Received condition
- Don't set anything here.
By not setting any settings here, you're making this profile trigger on any chat message received by any contact on any messaging app. If you want you can limit this to a contact or specific messaging app.
- Accept this and create a new task
STEP 2 - SHOW RELEVANT VARIABLES
In this step we're just showing the variables we're interested in with a Flash action. By doing this we're also making the variables available to the plugins. If you didn't do this, you'd have to manually type out the variable names in the plugins.
- Add a "Flash" action
- Add the variables as seen in the video
STEP 3 - GET APP ICON
- Add an AutoLaunch Query action
- Set the Package Name field to %tcapppackage by clicking the tag icon
- Check the exact package name option
- go back to Tasker
STEP 4 - SHOW ICON VARIABLE
As before, we're just showing this variable so it's easier to use later.
- Add a flash action
- Set the text to %alicons1
- Go back to Tasker
STEP 5 - SEND NOTIFICATION TO CHROME
We're now going to setup a notification in chrome that contains the received message and that contains a button that when clicked allows you to reply to the message.
- Add an "AutoRemote Notification" action
- Set the notification recipient to your Chrome
- Set the title to %tcsendername
- Set the text to %tctext
STEP 6 - SET BUTTON
- Edit the Button 1 settings
- Set button 1 action to "tcreply=:=%tcappname=:=%tcsendername=:="
- set the "Action Popup" for that button to "What's your reply?"
Setting the action popup lets AutoRemote know that this button will create a popup. Whatever you write in the popup will be appended to the action you just defined above and sent back to the device that sent the notification. So, if you write "hello", the message sent to your device will be "tcreply=:=%tcappname=:=%tcsendername=:=hello" where %tcappname and %tcsendername will have the reall app name and sender name values.
- Set the button label to "Reply"
- Set the button icon to %alicons1 by clicking the tag icon
if you now back out of Tasker and receive a message in a compatible app you should get the notification in Chrome. Now you just a way to handle the response in Tasker.
STEP 7 - HANDLE REPLY WITH AUTOREMOTE
- Create a new profile with a Event->Plugins->AutoRemote->AutoRemote condition
- set the message filter to "tcreply=:="
- Accept this and create a new task
- Add a flash action with %arcomm()
%arcomm() is a list of values. It'll contain all the commands of the message that was received. %arcomm1 will contain the app name, %arcomm2 will contain the contact name and %arcomm3 will contain the reply text. More info here.
STEP 8 - SEND REPLY TO CHAT APP
- Add a "Touchless Chat Send Message" action
- Set the manual app name to %arcomm1
- Set the contact name to %arcomm2
- Set the message text to %arcomm3
If you now reply to your chrome notification, the message should be sent to your contact! You're done!
STEP 1 - CRIAR PERFIL TOUCHLESS CHAT
- No Tasker, criar um novo perfil
- Usar a condição Event->Plugin->Touchless Chat->Mensagem recebida
- Não configurar nada aqui
Ao não configurar nada aqui estás a fazer com que este perfil se ative com qualquer mesnsagem recebida de qualquer contato em qualquer app de chat. Se queres podes limitar a um contato ou app específicos preenchendo os campos correspondentes.
- Aceitar e criar uma nova Tarefa
STEP 2 - MOSTRAR VARIáVEIS RELEVANTES
Neste passo vamos só mostrar as variáveis que estamos interessados numa ação de Flash. Ao fazer isto também estamos a fazer com que as variáveis fiquem disponíveis nos plugins. Se não se fizesse isso, teria que se escrever sempre o nome das variáveis manualmente.
- Adicionar ação de "Flash"
- Adicionar as variáveis que se vê no vídeo
STEP 3 - OBTER ICON DA APLICAçãO DE CHAT
- Adicionar ação AutoLaunch Query
- Definir "Package Name" como %tcapppackage carregando no ícone de tag
- Seleccionar a opção de "exact package name"
- Voltar para o Tasker
STEP 4 - MOSTRAR VARIáVEL DO íCONE
Como antes, estamos só a mostrar esta variável para ser mais fácil usá-la posteriormente
- Adicionar uma ação de Flash
- Definir o text como %alicons1
- Voltar para o Tasker
STEP 5 - ENVIAR NOTIFICAçãO PARA O CHROME
Vamos configurar uma notificação que vai ser enviada para o Chrome que contém a mensagem recebida e um botão que quando carregado permite responder à mensagem
- Adicionar uma ação "AutoRemote Notification"
- Definir o recipient como o Chrome
- Definir title como %tcsendername
- Definir text como %tctext
STEP 6 - DEFINIR BOTãO
- Editar o botão 1
- Definir ação do botão 1 como "tcreply=:=%tcappname=:=%tcsendername=:="
- definir o "Action Popup" como "Qual a sua resposta?"
Ao definir o "Action Popup" fazemos com ao carregar no botão da notificação seja criado um popup com um campo de introdução de texto. O que quer que se escreva nesse popup vai ser adicionado à ação do botão. Por exemplo, se se escrever "olá", a mensagem que vai ser enviada de volta para o teu Android será "tcreply=:=%tcappname=:=%tcsendername=:=olá", onde %tcappname e %tcsendername vão ter os valores reais da app e do nome da pessoa que enviou a mensagem
- Definir a button label como "Responder"
- Definir o ícone do botão como %alicons1
Se agora saír do Tasker e receber uma mensagem numa app suportada pelo Touchless Chat deverá receber uma notificação no Chrome. Agora temos que tratar da resposta.
STEP 7 - TRATAR DA REPOSTA COM O AUTOREMOTE
- Criar um novo perfil com a condição Event->Plugins->AutoRemote->AutoRemote
- definir o message filter como "tcreply=:="
- Aceitar e criar nova Tarefa
- Adicionar ação de flah com %arcomm()
%arcomm() é uma lista de valores que contém todos os comandos enviados. %arcomm1 vai conter o nome da app, %arcomm2 vai conter o nome do contato e %arcomm3 vai conter o texto de resposta. Mais info aqui.
STEP 8 - ENVIAR RESPOSTA PELA APP DE CHAT
- Adicionar uma ação "Touchless Chat Enviar Mensagem"
- Definir o nome da app manual como %arcomm1
- Definir o nome do contato como %arcomm2
- Definir o texto da mensagem como %arcomm3
Se agora se carregar no botão da notificação no chrome e se se responder à mensagem, a mensagem deverá ser enviada para o seu contato no Android. Conseguiste!

Reply To Messages From Your PC
Learn how to reply to chat messages in chrome on your PC using Touchless Chat