Tasker URL Launcher

279 views
Skip to first unread message

nmyshkin

unread,
Sep 1, 2018, 5:05:40 PM9/1/18
to Tasker
I'm sure there are newer ways to do what this old app does, but I am trying to find a general solution that will run from Eclair up to Nougat. The app installs on both, but only seems to do what I expect on a system running Eclair (haven't tested OS versions in between yet).

Questions:

1. Is there some way to disable the "toast" which appears every time a Tasker URL is tapped? Really annoying.
2. On Nougat everything seems to work fine (including the "toast"...) but no new browser page opens (the expected outcome of the linked task). The task shows execution without error, including the final "Open File" step, but maybe there is a permission issue with Android 7.0?

The linked task (just in local testing version so far):

A1: Read File [ File:Download/tribarticle1.html To Var:%Newstory ]
    A2: Variable Search Replace [ Variable:%Newstory Search:(?<=<p>)[^<]+(?=</p>) Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In:%Newslines Replace Matches:Off Replace With: ]
    A3: Write File [ File:Download/newstory.html Text:<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<font size="6"> Append:Off Add Newline:On ]
    A4: Variable Set [ Name:%increment To:1 Do Maths:Off Append:Off ]
    A5: Write File [ File:Download/newstory.html Text:<p>%Newslines(%increment)</p> Append:On Add Newline:On ]
    A6: Variable Add [ Name:%increment Value:1 Wrap Around:0 ]
    A7: Goto [ Type:Action Number Number:5 Label: ] If [ %increment < %Newslines(#) ]
    A8: Write File [ File:Download/newstory.html Text:</font>
</body>
</HTML> Append:On Add Newline:On ]
    A9: Open File [ File:Download/newstory.html Mime Type:text/html ]

joaomgcd

unread,
Sep 10, 2018, 9:22:10 AM9/10/18
to Tasker
You can use AutoTools to do the same thing :) 

Reply all
Reply to author
Forward
0 new messages