Open a file directly from the web:
- Add a command in the Chrome extension
- Choose a device (for instance S3 in my case)
- In the Custom text type “Open file on S3”
- In the Command type “openfile”
- Check both “Don’t send right-click selection with this command” and “Send selected file with this command” options.
- Save
- On your phone add a profile with an AutoRemote condition and a message filter “openfile” and check the exact checkbox
- In the task use the Tasker Action “Open File” and in the field select the files variable (available from the tag icon in Tasker)
Now if you right click any file on the web it will be opened on your phone, including apks 🙂