Automate web Uri example

by P. Andreas Schmidt, IVE

Version 3 (September 30, 2023)

Download (125 downloads)

Updates:
See v2: https://llamalab.com/automate/community/flows/46262

-thanks @dahmane who pointed it out, I've changed the file name from fixed to using the fileuri function to make it work with more browsers.
- thanks to Henrik who included a deep link feature for the web dialogue, so now this feature can also be used within AM, this is a great way to finally communicate between the web dialogue and the flow, this opens great new possibilities!

---

Some browsers on Android support this automate feature to send a broadcast message to it from a website, either through a link href or using JavaScript window.location.href='automate:whatever' (whatever can be any message you want to pass on).
This doesn't (currently) work with the AM web dialogue block.
This example will create a example html file in your Download folder, open it (you get to pick which browser), and when you click on the link, it shows a toast and saves the results to the log. The file will be deleted. The same but with JavaScript when page is loaded in other beginning.
I've tried this with kiwi=chrome. None else. Leave a comment about other browser experiences.

3.7 average rating from 3 reviews

5 stars
1
4 stars
0
3 stars
2
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.