Hi,
I make a Flow who say the sms but I want to do the same for notification of messenger.
Do you know how to do that ?
Thanks.
Speech output for notification
Moderator: Martin
Speech output for notification
- Attachments
-
- Screenshot_20190319-175333.jpg (121.03 KiB) Viewed 12274 times
Re: Speech output for notification
Just replace the trigger with Notification on Statusbar Displayed to detect notifications from Messenger and change variables you use as you need with the ones detailed in the trigger help (you can access it going to the ? icon when editing it), most probably notification_text or title. You might also need to parse the data from the variable you choose, so you may want to use action Script and look at the documentation to see how you can get the data you want from the variables and also looking at the log or using Debug Dialog condition to develop your code and see what values you get.
Re: Speech output for notification
The trigger works but the voice said "null" everytime, I try "title" and "notification_text"
Re: Speech output for notification
And sorry but I didn't understandariloc wrote:You might also need to parse the data from the variable you choose, so you may want to use action Script and look at the documentation to see how you can get the data you want from the variables and also looking at the log or using Debug Dialog condition to develop your code and see what values you get.
Re: Speech output for notification
Have you tried with other variables named in the help? Also remember to use the debug dialog condition I mentioned to see which variables have content and the one you need, just connect that condition in between the trigger and the action.
Re: Speech output for notification
I don't know why but "notification_text" work now !
Thank you for the debug dialog, it's really useful
Thank you for the debug dialog, it's really useful